4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Alexis on February 11, 2003, 05:30:38 AM

Title: DB Error >> MySQL Connection Failed
Post by: Alexis on February 11, 2003, 05:30:38 AM
i keep getting this error message:

Quote
Warning: Access denied for user: 'swznet_made@localhost' (Using password: YES) in /home/swznet/public_html/4images/includes/db_mysql.php on line 39

Warning: MySQL Connection Failed: Access denied for user: 'swznet_made@localhost' (Using password: YES) in /home/swznet/public_html/4images/includes/db_mysql.php on line 39

DB Error: Could not connect to the database server (localhost, swznet_made).


------------------------------

here's what's inside of my sql database: do i need this agbook1? cos i deleted the agbook2.


Quote
swznet_agbook1

Users in swznet_agbook1
swznet_agbook1

Connection Strings
Perl$dbh = DBI->connect("DBI:mysql:swznet_agbook1:localhost","swznet_agbook1","<PASSWORD HERE>");
PHP$dbh=mysql_connect ("localhost", "swznet_agbook1", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("swznet_agbook1");


swznet_agbook2

Users in swznet_agbook2
swznet_agbook2

Connection Strings
Perl$dbh = DBI->connect("DBI:mysql:swznet_agbook2:localhost","swznet_agbook2","<PASSWORD HERE>");
PHP$dbh=mysql_connect ("localhost", "swznet_agbook2", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("swznet_agbook2");


swznet_swznetmade

Users in swznet_swznetmade
swznet_made

Connection Strings

Perl$dbh = DBI->connect("DBI:mysql:swznet_swznetmade:localhost","swznet_made","<PASSWORD HERE>");
PHP$dbh=mysql_connect ("localhost", "swznet_made", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("swznet_swznetmade");
Title: DB Error >> MySQL Connection Failed
Post by: V@no on February 11, 2003, 05:35:21 AM
1. Make sure u entered correct username / password for your DB.

2. what is "agbook1"? what are u talking about?