Error installing on MySQL
Moderator: marco
Error installing on MySQL
I've tried installing php-residence on two different servers using MySQL and I keep getting the same error.
Warning: mysql_connect(): Access denied for user 'rudyf_2'@'209.68.1.19' (using password: YES) in /usr/www/users/rudyf/phpres/php-residence/creadb.php on line 159
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).
I've created the database manually and used the user name and password, I've also tried allowing the install script to create the database.
Is there something special I need to do?
Warning: mysql_connect(): Access denied for user 'rudyf_2'@'209.68.1.19' (using password: YES) in /usr/www/users/rudyf/phpres/php-residence/creadb.php on line 159
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).
I've created the database manually and used the user name and password, I've also tried allowing the install script to create the database.
Is there something special I need to do?
-
- Posts: 2
- Joined: Sat May 13, 2006 3:57 am
Same MySql error
I have exactly the same problem.
Usually i make all connections to MySql with the hostname (it does not accept "localhost"), and it works always fine.
I think the problem is due to something else.
Any idea?
Thanks in advance.
Usually i make all connections to MySql with the hostname (it does not accept "localhost"), and it works always fine.
I think the problem is due to something else.
Any idea?
Thanks in advance.
Hello,
if it says "access denied" it's clearly a problem with mysql configuration, not with php-residence. Keep in mind that each user has different privileges on different databases, and also the connection type counts (socket, tcp, etc.).
Anyway let me point out that if you subscribe to my hosting service you'll have none of this problems as php-residence will be already installed and ready to use
Marco
if it says "access denied" it's clearly a problem with mysql configuration, not with php-residence. Keep in mind that each user has different privileges on different databases, and also the connection type counts (socket, tcp, etc.).
Anyway let me point out that if you subscribe to my hosting service you'll have none of this problems as php-residence will be already installed and ready to use

Marco
-
- Posts: 2
- Joined: Sat May 13, 2006 3:57 am
This are the errors stated... and I would like to host it myself like I always do...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'FC7594_holidays'@'195.110.124.187' (using password: YES) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 37
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 39
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /holidays/prenotazioni/includes/funzioni_mysql.php on line 39
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 56
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /holidays/prenotazioni/includes/funzioni_mysql.php on line 56
ERROR IN: select * from anni where idanni = 2006
2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /holidays/prenotazioni/includes/funzioni_mysql.php on line 69

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'FC7594_holidays'@'195.110.124.187' (using password: YES) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 37
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 39
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /holidays/prenotazioni/includes/funzioni_mysql.php on line 39
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /holidays/prenotazioni/includes/funzioni_mysql.php on line 56
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /holidays/prenotazioni/includes/funzioni_mysql.php on line 56
ERROR IN: select * from anni where idanni = 2006
2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /holidays/prenotazioni/includes/funzioni_mysql.php on line 69
Anyone figure out how to make this work?
Hi All,
I can't get past installation with the same message as others are getting. Did anyone discover how to tweak the settings to get past this or did the MySql people give up on Php-Residence?
Your advice would be appreciated.
I can't get past installation with the same message as others are getting. Did anyone discover how to tweak the settings to get past this or did the MySql people give up on Php-Residence?
Your advice would be appreciated.
Php-residence works quite happily with mysql, just look at the list of websites using it and there is also a tutorial showing how to install both on your computer. For php and mysql configurarion problems you should ask your hosting provider, this is their job and they get paid for it.
Marco
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
My host puts my user name in front of both my database name and my user name for the database.
I solved the problem by creating my database first.
Then under database name I entered: userName_databaseName
And under user I entered: userName_DatabaseUserName
My host is Lunarpages but I think its similar with all hosts using cpanel.
Good luck!
I solved the problem by creating my database first.
Then under database name I entered: userName_databaseName
And under user I entered: userName_DatabaseUserName
My host is Lunarpages but I think its similar with all hosts using cpanel.
Good luck!