Jump to content

Recommended Posts

Posted

At the end of Feb I had trouble connecting by my database via odbc. The porblem was solved - I suspect rhough some server adjustment by Rick Veazey. See this thread

http://www.totalchoicehosting.com/forums/i...c=26375&hl=odbc

 

However, I am having the same problem on a second domain today

http://porterordhids.co.nz

 

My site works and connects fine, so database, users etc are all established.

I've added my IP address to the "access Hosts" list.

 

Any ideas?

Posted

If Rick fixed it then it could have been a server related issue. You should open a ticket with the help desk and have them check for you. The mods don't have access to the servers and the techs don't frequent the forums regularly.

  • 2 months later...
Posted

Hey guys, I need some help. I do not have a static IP address. I went to the whatismyip.com and put the reported Ip address in the "access Hosts" on mySQLAdmin. I am still getting the following error:

 

[MySQL][ODBC 3.51 Driver]Access denied for user 'kwsuki'@'ip24-254-38-172.br.br.cox.net' (using password: YES)

 

I feel confident that the User and Password are entered correctly. I'd appreciate any advise.

Posted (edited)
Looks like you don't have the correct username. Your database username is in the form cpanelUsername_databaseUsername.

 

Please elaborate. I am using my MySQL databases for a Movable Type site and I am having no problem with that. I am using the same User name and Password that I have in the mt_config.cgi script.

Edited by mredmond
Posted
Your user name to access the database would be you-cpanelID_user-name

 

The only name associated with my database IS my cPanel name. I have not created any additional users and Movable Type is working fine. Wouldn't I have a problem with MT accessing the databases if I did not have the necessary names set up?

Posted
If you have not created a user and added it to the database you will not be able to access it.

Please educate me if you can. I am using Movable Type, every day, as I learn how to maintain that site. Am I NOT accessing the MySQL databases? When I go into phpMyAdmin I see all the work that I have done. The records are there! The only user shown has the same name as the cPanel User ID. I do not remember creating that user, but perhaps I did. That is the name I am using.

 

Example:

 

cPanel name = kwsuki

MySQL user = kwsuki

Password = password (not really)

 

When createing the DSN for ODBC connectivity, do I have to say

 

user name = kwsuki_kwsuki

 

I have actually already tried that and I get the same error.

 

I tried submitting a Help Desk ticket. They responded to try to add the % wildcard to my access host since I don't have a dedicated IP and then fussed at me for submitting a non-server related issue. Told me to try the forums, which I have been trying to do? I'll have to wait until I get home to try the wildcard suggestion. Until then, I'll keep groping. If anyone has any more ideas, let me know.

Posted

It looks like you created a database user without actually providing a username. That gives you a full database username of "kwsuki_" without the quotes. There is nothing after the underscore because nothing was entered in the username box. Try that and let us know how it goes.

Posted

I tried every combination of kwsuki with the '_', without it, etc. I finally gave in and created another user and added him to the database and it worked. Go figure!

 

Thanks for the help guys!

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