wcianfrani
Nov 15 2006, 02:45 PM
I receive username "username@localhost" can not acces the mysql database error.
My hosting company says you must only use the username to access the database. From the error it looks like the cart is trying to use the username with @localhost on the end.
Arild
Nov 15 2006, 02:58 PM
check your global.inc.php in the include folder and se if the correct mysql data is entered there.
If you have done a manual install(not fantastico) then you have to create the user and database first, have you done that.??
wcianfrani
Nov 15 2006, 03:19 PM
QUOTE(Arild @ Nov 15 2006, 03:58 PM)

check your global.inc.php in the include folder and se if the correct mysql data is entered there.
If you have done a manual install(not fantastico) then you have to create the user and database first, have you done that.??
Yes I have created the database and I'm using the administrator login name and password.
Mysty
Nov 15 2006, 03:30 PM
Make sure your hosting company uses "localhost" for the sql server location. Some use an ip address or other information. Sounds like something in your global.inc.php file is set wrong so triple check all that info with your hosts.
wcianfrani
Nov 15 2006, 03:37 PM
QUOTE(Mysty @ Nov 15 2006, 04:30 PM)

Make sure your hosting company uses "localhost" for the sql server location. Some use an ip address or other information. Sounds like something in your global.inc.php file is set wrong so triple check all that info with your hosts.
The hosting company said I can use:
127.0.0.1
or
localhost
or
localhost.localdomain
as my server hostname.
Thanks,
Bill
Arild
Nov 15 2006, 04:14 PM
double check your gloabal.inc.php
Some host add a prefix to every username and db name, does yours.
Normaly it is "account name"_DBname and "account name"_USERname where account name is the login name for the hosting account.
posting the full error or link to shop will also be of help
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.