PDA

View Full Version : mysql connect error


jonkempbfv
6-13-05, 07:35 PM
Im trying to install oscommerce on my mates server (mine on powweb works fine)
i get the following error

Warning: mysql_connect(): Access denied for user: 'username @server218-apache197.livedns.org.uk' (Using password: YES) in /home/zzzz/a/atcmotocross.com/user/htdocs/shop/catalog/admin/includes/functions/database.php on line 19
Unable to connect to database server!

and the same for the catalog database too?

does it mean that the user name and password isnt being sent to the mysql server?

thanks so much for any help!
jon

[Edited to remove username]

coldhead
6-13-05, 08:51 PM
hi,
First I'd hide the details in your posts, if you havent already.
I know it's a no brainer but have you created a database yet?
If so, can you get to it through some other means with same connection info?
Check these things and try the install again.
I've not used os commerce but theres probably some readme info some where in the distrib it may shed light on your problems.

jonkempbfv
6-14-05, 06:49 AM
yeah it something to do with the username and password im unsure ive read all the readmes i think my crappy hosting arnt letting me use the sql server
any further help would be much appriciated

stevel
6-14-05, 11:14 AM
The only thing I can think of is to make sure that there are no spaces at the end of the username, password or server name.