note 120262 added to ref.pdo-mysql.connection
| From: | rhian | Date: | Fri, 02 Dec 2016 15:13:48 +0000 |
| Subject: | note 120262 added to ref.pdo-mysql.connection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-207957@lists.php.net to get a copy of this message | ||
xwisdom made a mistake in his comment and got it backwards, correction below:
If you are having problems accessing a remote MYSQL database, the solution is to make sure that you
add a white-space after "mysql:"
Change this...:
mysql:host=remote;
...to this:
mysql: host=remote;
See original solution here:
http://stackoverflow.com/a/25432156
----
Server IP: 72.52.91.14
Probable Submitter: 194.74.17.114
----
Manual Page -- http://php.net/manual/en/ref.pdo-mysql.connection.php
Edit -- https://master.php.net/note/edit/120262
Del: integrated -- https://master.php.net/note/delete/120262/integrated
Del: useless -- https://master.php.net/note/delete/120262/useless
Del: bad code -- https://master.php.net/note/delete/120262/bad+code
Del: spam -- https://master.php.net/note/delete/120262/spam
Del: non-english -- https://master.php.net/note/delete/120262/non-english
Del: in docs -- https://master.php.net/note/delete/120262/in+docs
Del: other reasons-- https://master.php.net/note/delete/120262
Reject -- https://master.php.net/note/reject/120262
Search -- https://master.php.net/manage/user-notes.php