Jump to content

Recommended Posts

Posted

i just recently bought a plan on TCH, and i'm trying to use a 3rd party to software to connect to my mysql database, but i'm not sure of the parameters, eg hostname and port # to connect. can someone help me out pls.

Posted

Are you trying to connect from a remote system? If so, it's your domain name, and port 3306.

 

If you are connecting from your account, then 127.0.0.1, port 3306. Or you can use /tmp/mysql.sock.

Posted

I am trying to connect to MySQL from a remote system, my home comuter, using Navicat. I have entered the default port 3306, my Hostname, my username for my host, and the password that goes with the username. I also tried using the IP address also for my domain.

 

But still I get an error message saying "Access denied for user: 'myname@myhomeip' (Using password YES).

 

What am I doing wrong here?

 

I have defined some users in the Database, and even tried using those to login.

 

Thanks.

 

Martin

 

:blink:

Posted (edited)

You have to define which hosts your users can login from.

Also, keep in mind that database names and usernames are in the form of cpanelusername_dbname and cpanelusername_dbusername, respectively.

Edited by TCH-Raul

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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