Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.
You are not logged in.
Hi All,
I could complete the installation of ShopScript, but on the database access page it give me this error..
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\EasyPHP\www\includes\database\mysql.php on line 13
Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in C:\EasyPHP\www\includes\database\mysql.php on line 14
Kindly advise.
Best regards
Nikhil Chheda
Offline
open mysql.php
if theres somthing along the lines of:
//connect to the database
db_connect(DB_HOST,DB_USER,DB_PASS) or die (db_error());
db_select_db(DB_NAME) or die (db_error());
make sure it contains all the correct information.
eg.
//connect to the database
db_connect(root,admin,adminpass) or die (db_error());
db_select_db(mydatabase) or die (db_error());
might work, not sure as i do not run locally
Offline
When I was running install.php, the following warning occured:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46) in /shop-script-free/includes/database/mysql.php on line 13
Warning: mysql_get_server_info() expects parameter 1 to be resource, boolean given in /shop-script-free/includes/database/mysql.php on line 14
I double checked all the connection settings, and could even access the database via phpMyAdmin. What went wrong?
Offline
You might have entered incorrect database connection credentials during installation. Or the mysql_connect function is disabled on your server.
Offline
where is located includes/database/mysql.php from free version in webasyst shop script version ?
Offline
Post this question in the forum section dedicated to WebAsyst, please.
Offline