reference/mysql/functions/mysql-connect.xml
554db5a3a3ac77910d68349eefa37e2c9a9da628
...
...
@@ -114,31 +114,6 @@
114
114
</para>
115
115
</refsect1>
116
116

117
-
<refsect1 role="changelog">
118
-
&reftitle.changelog;
119
-
<para>
120
-
<informaltable xml:id="function.mysql-connect.changelog">
121
-
<tgroup cols="2">
122
-
<thead>
123
-
<row>
124
-
<entry>&Version;</entry>
125
-
<entry>&Description;</entry>
126
-
</row>
127
-
</thead>
128
-
<tbody>
129
-
<row>
130
-
<entry>5.5.0</entry>
131
-
<entry>
132
-
This function will generate an <constant>E_DEPRECATED</constant>
133
-
error.
134
-
</entry>
135
-
</row>
136
-
</tbody>
137
-
</tgroup>
138
-
</informaltable>
139
-
</para>
140
-
</refsect1>
141
-

142
117
<refsect1 role="examples">
143
118
&reftitle.examples;
144
119
<para>
...
...
@@ -224,9 +199,9 @@ mysql_close($link);
224
199
override this and try to connect to a local socket (named pipe on
225
200
Windows). If you want to use TCP/IP, use &quot;127.0.0.1&quot;
226
201
instead of &quot;localhost&quot;. If the MySQL client library tries to
227
-
connect to the wrong local socket, you should set the correct path as
228
-
<xref linkend="ini.mysql.default-host" /> in your PHP configuration and leave the server field
229
-
blank.
202
+
connect to the wrong local socket, the correct path should be set as
203
+
<link linkend="ini.mysql.default-host">mysql.default_host</link> in &php.ini; and the server field
204
+
left blank.
230
205
</para>
231
206
</note>
232
207
<note>
233
208