Jump to content

connecting to the database?


Alert

Recommended Posts

Hi. I just need to know the host name. I didnt find it on the control panel anywhere. I tried localhost, but that did not work.

 

Then I tried just my site address, and my user was denied access. However, the user I used has all privileges set.

 

So, if someone could tell me the host? If I was correct, how come it is denying my user?

 

Thanks in advance,

Alert

Link to comment
Share on other sites

Are you talking about connecting in Mysql? When I connect I use localhost. However for my user name I have to use this "myloginnameforcpanel_mymysqlusername". So suppose I logged into Cpanel with bob and my user name for mysql was jeff I would have to enter bob_jeff as my user name for the mysql connection. Your password is just you regular password.

 

 

Also your database is called yourloginforcpanel_dbname.

 

Not sure if this is what your looking for but hopefully it works.

Link to comment
Share on other sites

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