Problem creating database
Posted: Wed Mar 17, 2010 7:07 pm
Hi there,
since this morning I've been trying to setup php-residence, but I am not able to create the database. I have downloaded easyphp and I have followed the instruction "How to Install Php-Residence on Windows with Easyphp", but it is simply not working. I always get the following error message:
Warning: mysql_connect() [function.mysql-connect]: [2002] Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle na (trying to connect via tcp://localhost:3306) in C:\Program Files\Easy_PHP-5.3.2\www\php-residence_1.2.2\php-residence\creadb.php on line 170
Warning: mysql_connect() [function.mysql-connect]: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat. in C:\Program Files\Easy_PHP-5.3.2\www\php-residence_1.2.2\php-residence\creadb.php on line 170
Inserted data isn't exact or the database isn't listening (if it's postgres make sure it is started with -i and you have right permissions in pg_hba.conf).
So, I guess, the login data is not correct (the mysql database is up and running). I tried to create the database with password (mysql - as described on the documentation page) and without password but I always get the same error message.
Can some one please help me!!!!
Thanks
kesumai
since this morning I've been trying to setup php-residence, but I am not able to create the database. I have downloaded easyphp and I have followed the instruction "How to Install Php-Residence on Windows with Easyphp", but it is simply not working. I always get the following error message:
Warning: mysql_connect() [function.mysql-connect]: [2002] Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle na (trying to connect via tcp://localhost:3306) in C:\Program Files\Easy_PHP-5.3.2\www\php-residence_1.2.2\php-residence\creadb.php on line 170
Warning: mysql_connect() [function.mysql-connect]: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat. in C:\Program Files\Easy_PHP-5.3.2\www\php-residence_1.2.2\php-residence\creadb.php on line 170
Inserted data isn't exact or the database isn't listening (if it's postgres make sure it is started with -i and you have right permissions in pg_hba.conf).
So, I guess, the login data is not correct (the mysql database is up and running). I tried to create the database with password (mysql - as described on the documentation page) and without password but I always get the same error message.
Can some one please help me!!!!
Thanks
kesumai