Jump to content

OK packet 6 bytes shorter than expected


Jagand

Recommended Posts

I am trying to execute a script, purpose of which is to load the data present in my localhost into mysql database present in host server. I am getting following error when doing so

 

Warning: mysql_pconnect() [function.mysql-pconnect]: OK packet 6 bytes shorter than expected in

 

Warning: mysql_pconnect() [function.mysql-pconnect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in

 

Warning: mysql_query() [function.mysql-query]: Access denied for user 'myname'@'localhost' (using password: NO) in

 

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in

 

how do i resolve it?

Link to comment
Share on other sites

myname'@'localhost'

 

looks like you are trying to use your authentication credentials for your home network on the remote server.  Check the credentials you are using to connect to the remote site.  Make sure all the variables you are using are different name (don't reuse variables for the two connections)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.