Need help configuring mysql & Oscommerce

krobinsonmedia

Registered
May 19, 2008
1
0
51
new Installation of oscommerce can't connect to msql_connect I've read a lot of threads,



Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '[% 127.0.0.1 %]' (1) in /home/annxxpimarie/public_html/osc/includes/functions/database.php on line 19
Unable to connect to database server!

thanks in advance.
 

thewebhosting

Well-Known Member
May 9, 2008
1,201
1
68
new Installation of oscommerce can't connect to msql_connect I've read a lot of threads,



Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '[% 127.0.0.1 %]' (1) in /home/annxxpimarie/public_html/osc/includes/functions/database.php on line 19
Unable to connect to database server!

thanks in advance.
Try to connect using 'localhost' as MySQL server host.
 

nate_nolting

Member
Jan 16, 2008
6
0
51
Bemidji, MN
I'm having the same issue installing a fresh copy from the oscommerce site. I'm running textpattern on the same domain but it doesn't like to play with osc.

so i installed the cart on shop.mydomain.com and in the installation it does not like connecting to localhost (access denied).