Problems with config file..
-
- Posts: 44
- Joined: Mon 29. Dec 2003, 03:29
Problems with config file..
Hi folks. I have installed phpwcms several times before with little or no problems.
Today... I downloaded the newest version and did a fresh install on a new unix server. When i try to run the setup... i get the WCMS flash page...and when i click "START HERE" for the installation to begin. I get the following message.
Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/cms/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
Now i know that it gets the user and password and such from the setup.conf.inc.php All of the values are set right. I have checked after uploading and then downloading twice. But for some reason the values are not getting read and set right.
I have checked all the things Oliver has in this forum... I have them all...the right version of php and the right settings. All the folders and files are set with the right chmod settings. I am currently stumped. Can someone enlighten me...and save me from my ignorance.
Thanks in advance
Today... I downloaded the newest version and did a fresh install on a new unix server. When i try to run the setup... i get the WCMS flash page...and when i click "START HERE" for the installation to begin. I get the following message.
Warning: mysql_pconnect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/cms/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
Now i know that it gets the user and password and such from the setup.conf.inc.php All of the values are set right. I have checked after uploading and then downloading twice. But for some reason the values are not getting read and set right.
I have checked all the things Oliver has in this forum... I have them all...the right version of php and the right settings. All the folders and files are set with the right chmod settings. I am currently stumped. Can someone enlighten me...and save me from my ignorance.
Thanks in advance
-
- Posts: 44
- Joined: Mon 29. Dec 2003, 03:29
I get this at the very start of the installation. But yes...the login and password are OK. I can do a simple php and connect to it with the same values. I dont use root but my own admin name...that is why i think it is something else other than what the error message says.Pappnase wrote:Hello
It sounds like an wrong mysql login.
Please Check this again.
Pappnase
I am missing something... but cant find it.
Good Morningkpimichael wrote:I get this at the very start of the installation. But yes...the login and password are OK. I can do a simple php and connect to it with the same values. I dont use root but my own admin name...that is why i think it is something else other than what the error message says.Pappnase wrote:Hello
It sounds like an wrong mysql login.
Please Check this again.
Pappnase
I am missing something... but cant find it.
Did you can connect via phpmayadmin and are there the db entries from phpwcms!?
Pappnase
-
- Posts: 44
- Joined: Mon 29. Dec 2003, 03:29
Thanks for your patience. This is happening at the start of the installation. I do not get to start the 1st page of the install without getting this message. I have tried to reinstall...but same message. Thanks for the suggestions.. I will load to another server and try it... maybe i have something wrong with my unix box. ThanksPappnase wrote:Good Morningkpimichael wrote:I get this at the very start of the installation. But yes...the login and password are OK. I can do a simple php and connect to it with the same values. I dont use root but my own admin name...that is why i think it is something else other than what the error message says.Pappnase wrote:Hello
It sounds like an wrong mysql login.
Please Check this again.
Pappnase
I am missing something... but cant find it.
Did you can connect via phpmayadmin and are there the db entries from phpwcms!?
Pappnase
i am getting this problem as well
i am getting the above problem aswell please help!!!
i get the following error......
Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/zeroplus/public_html/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
i have manually updated config file and changed it... the host on my server is not localhost and i have updated this accordingly yet it still seesm to be trying to connect.
i get the following error......
Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/zeroplus/public_html/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
i have manually updated config file and changed it... the host on my server is not localhost and i have updated this accordingly yet it still seesm to be trying to connect.


I shouldn't speak so soon next time


possible work-around for you to try...
After a complete fresh install of both phpwcms, mySQL and my database I can work around this problem by setting mySQL password to anything a normal BUT setting my phpwcsm["db_pass"] inc.conf.php to "" (as this is NOT recomended I too would love help on this)
is this connected to the new MD5 encoding??
is db_pass being encrypted in a way that mysql either can't understand or would need a mod to understand? or a mod to the php installation itself?