Problems with config file..

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
kpimichael
Posts: 44
Joined: Mon 29. Dec 2003, 03:29

Problems with config file..

Post by kpimichael »

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
Pappnase

Post by Pappnase »

Hello

It sounds like an wrong mysql login.
Please Check this again.

Pappnase
kpimichael
Posts: 44
Joined: Mon 29. Dec 2003, 03:29

Post by kpimichael »

Pappnase wrote:Hello

It sounds like an wrong mysql login.
Please Check this again.

Pappnase
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.

I am missing something... but cant find it.
Pappnase

Post by Pappnase »

kpimichael wrote:
Pappnase wrote:Hello

It sounds like an wrong mysql login.
Please Check this again.

Pappnase
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.

I am missing something... but cant find it.
Good Morning

Did you can connect via phpmayadmin and are there the db entries from phpwcms!?

Pappnase
kpimichael
Posts: 44
Joined: Mon 29. Dec 2003, 03:29

Post by kpimichael »

Pappnase wrote:
kpimichael wrote:
Pappnase wrote:Hello

It sounds like an wrong mysql login.
Please Check this again.

Pappnase
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.

I am missing something... but cant find it.
Good Morning

Did you can connect via phpmayadmin and are there the db entries from phpwcms!?

Pappnase
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. Thanks
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

I'm guessign you have but... have you 'created' the database in mysql so that the table can be installed?
zeroplus
Posts: 1
Joined: Mon 16. Feb 2004, 13:03

i am getting this problem as well

Post by zeroplus »

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.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

:lol: & :cry:
I shouldn't speak so soon next time :lol: as I too have this issue now :cry:

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?
Post Reply