zardiw
Perch
MySql8 Connect Issue - Solved
I'm having a problem connecting to mysql8 from my local machine.
Using Xampp and the latest and greatest MySql server.
Jodo's server has old_passwords set to ON (could be a security issue here guys.....but I understand wanting to stay compatible with older users on the server)
I've set old_passwords to ON on my machine.
I've checked SELECT Password('Mysecretpass'); on both the Jodo server, and my local server......and the resulting hash is identical (see below).
Yet I'm still getting this error. And trouble ticket has been submitted:
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:554)
Error In File: X:\xampp\htdocs\PHP\8KCoxxxxxxxxxx3.php
Error On Line: 13
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected
Error In File: X:\xampp\htdocs\PHP\8KCxxxxxxxxxxxxx3.php
Error On Line: 13
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
Error In File: X:\xampp\htdocs\PHP\8KCxxxxxxxxxxxxxx3.php
Error On Line: 13
z
I'm having a problem connecting to mysql8 from my local machine.
Using Xampp and the latest and greatest MySql server.
Jodo's server has old_passwords set to ON (could be a security issue here guys.....but I understand wanting to stay compatible with older users on the server)
I've set old_passwords to ON on my machine.
I've checked SELECT Password('Mysecretpass'); on both the Jodo server, and my local server......and the resulting hash is identical (see below).
Yet I'm still getting this error. And trouble ticket has been submitted:
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:554)
Error In File: X:\xampp\htdocs\PHP\8KCoxxxxxxxxxx3.php
Error On Line: 13
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected
Error In File: X:\xampp\htdocs\PHP\8KCxxxxxxxxxxxxx3.php
Error On Line: 13
An Error Occured!
Error Number: 2
Error Description: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
Error In File: X:\xampp\htdocs\PHP\8KCxxxxxxxxxxxxxx3.php
Error On Line: 13

z