Re: Malformed Packet error when call mysql_real_connect
Posted by: Scott Dudek
Date: August 06, 2015 02:22PM

The problem was solved by one of my colleagues. He noticed that the sql variable "old_passwords" was set to ON. He modified the database (using MySQL Workbench) with the command "SET old_passwords=0;". Then he updated our current password by "SET PASSWORD FOR <userid>=PASSWORD('<password>');"

After that my Connector C function calls worked. Don't know why I was getting the malformed packet error before.

Can anyone tell me whether such a modification of the database is dangerous in any way?

Thanks,
Scott

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Malformed Packet error when call mysql_real_connect
4406
August 06, 2015 02:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.