1
0
mirror of https://github.com/php/doc-de.git synced 2026-04-25 07:58:12 +02:00
Files
Sergey Panteleev c73ea82b2d Sync with EN (#178)
2024-07-26 18:42:48 +00:00

70 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: tihox Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="mysqli.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="mysqli.requirements">
&reftitle.required;
<para>
Um diese Erweitertung zu benutzen muss PHP mit Support für die mysqli Erweiterung compiliert werden.
</para>
<para>
<emphasis role="bold">MySQL 8</emphasis>
</para>
<para>
Bei der Verwendung von PHP vor 7.1.16 oder PHP 7.2 vor 7.2.4, ist als Standard
Passwort-Plugin des MySQL 8 Servers <emphasis>mysql_native_password</emphasis>
zu konfigurieren; andernfalls werden Fehlermeldungen in der Art
<emphasis>The server requested authentication method unknown to the client [caching_sha2_password]</emphasis>
auftreten, selbst wenn <emphasis>caching_sha2_password</emphasis> nicht verwendet
wird.
</para>
<para>
Das liegt daran, dass MySQL 8 standardmäßig caching_sha2_password verwendet
und dieses Plugin von den älteren PHP- (mysqlnd) Versionen nicht erkannt
wird. Stattdessen muss die Voreinstellung durch den Eintrag
<literal>default_authentication_plugin=mysql_native_password</literal> in
der Datei <filename>my.cnf</filename> geändert werden. Das Plugin
<emphasis>caching_sha2_password</emphasis> wird seit PHP 7.4.4 vollständig
unterstützt. In älteren Versionen wird es von der Erweiterung
<link linkend="book.mysql-xdevapi">mysql_xdevapi</link> unterstützt.
</para>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
&reference.mysqli.configure;
<!-- }}} -->
<!-- {{{ Configuration -->
&reference.mysqli.ini;
<!-- }}} -->
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->