Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't connect to mySQL server


Guest

Recommended Posts

Posted

Hey everybody... when im trying to install OSCommerce and connect to my database i get this error:

 

Access denied for user: '[email protected]' (Using password: YES)

 

i just created the database and password 30 minutes ago... im sure I'm using the right data as well. Could it be the database has to be in a specific location? Also tried logging into my server with the main admin password and username to see if it would automatically create a new database, but no luck.

 

Any insight would be greatly appreciated.

Posted

hehe. Never mind i just figured it out. I had to use "localhost" instead of my web address.

 

They need to make that more clear!

 

Thanks anyways guys.

Posted

Hi,

you may need to add your cpanel login username and an underscore to your database and username but not your pass word like

 

database name: lunarpage_store

 

username: lunarpage_yourusername

 

password: just your password

 

- Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

From what I remember, LP actually does it a bit differently. If your username is someuser, and you create a db name named test, with a database user of dbadminuser, you get:

db name: someuser_test

db username: someuser_dbadminuser

 

It also may be that your username/db name get truncated by LP's control panel.

 

-jared

Posted

hi guys, thanks for all the help!!! Just to clear it up though, for some reason, when it asks for the server that contains the database, i had to put the words "localhost"...

not my website address...

 

that worked!

 

Thanks again though.

Posted
hi guys, thanks for all the help!!! Just to clear it up though, for some reason, when it asks for the server that contains the database, i had to put the words "localhost"...

not my website address...

 

that worked!

 

Thanks again though.

 

That is normal in most all cases localhost is what you will use.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...