-
Notifications
You must be signed in to change notification settings - Fork 2.5k
localhost is automatically converted to 127.0.0.1 #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi! Can you show an example of when this happens (and include the output with
|
|
We connect with CakePHP using the same credentials, and everything is alright. Besides, mysql console tool also accepts them. |
You may be connecting to your local MySQL over a UNIX socket instead of over TCP. Can you try running this
|
Nope, it doesn't work. The same error. |
OK, that means you are connecting to MySQL over a UNIX socket from PHP, so you need to do the same here. You can do this by removing the |
Thank you very much, it helped. |
* Fix prepared statement When there are many args and maxAllowedPacket is not enough, writeExecutePacket() attempted to use STMT_LONG_DATA even for 0byte string. But writeCommandLongData() doesn't support 0byte data. So it caused to send malfold packet. This commit loosen threshold for using STMT_LONG_DATA. * Change minimum size of LONG_DATA to 64byte * Add test which reproduce issue 730 * TestPreparedManyCols test only numParams = 65535 case * s/as possible//
...which in some situations causes ER_ACCESS_DENIED_ERROR.
The text was updated successfully, but these errors were encountered: