Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 02-03-2012, 07:55 AM
darkbob darkbob is offline
Hatchling Croc
 
Join Date: Nov 2009
Posts: 1
Unhappy Remote connection mysql problems

I can't connect remotely to mysql. This is the error message I get.

------
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
------

Ok. So I logged in throush SSH and entered mysql CLI with the mysql username I need, and ran the following queries.

Code:
SET SESSION old_passwords=FALSE;
SET PASSWORD = PASSWORD('[current password]');
I get Query OK for both. This didn't work also, even though PASSWORD() function is returning the newer hash string (I tested this).

Any help please?

------
P.s. Yes, I am whitelisted and everyhing is set up correctly.
Reply With Quote
  #2  
Old 02-08-2012, 08:10 AM
klachman klachman is offline
Hatchling Croc
 
Join Date: Jan 2012
Posts: 16
Default Re: Remote connection mysql problems

I am also interested in the answer to this question.

Though currently i manually add MySQL database updates, in the near future I will be wanting the database on my website to be directly scripted by my own local database doing daily updates.

I am not fuilly aware of the limits of our 'jailshells' but it would be a certain flaw if we could not remotely maintain our databases, even if through indirect routines (such as cron parsing FTP uploads).
Reply With Quote
  #3  
Old 02-08-2012, 08:44 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,558
Default Re: Remote connection mysql problems

Quote:
Originally Posted by klachman View Post

I am not fuilly aware of the limits of our 'jailshells' but it would be a certain flaw if we could not remotely maintain our databases, even if through indirect routines (such as cron parsing FTP uploads).
A client in your computer connects to the mySQL server, listening in port 3306, and that has nothing to do with "jailshells", or any shells.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ruby][MySQL] Lost connection problems? CWC Shared Hosting Support 0 04-18-2009 12:51 AM

All times are GMT -5. The time now is 03:21 AM.