[SOLVED] Cannot install ( Warning: mysql_pconnect )

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Alex123
Posts: 20
Joined: Fri 21. Apr 2006, 18:25

[SOLVED] Cannot install ( Warning: mysql_pconnect )

Post by Alex123 »

Hi everyone,

I am trying to install the script and I am stuck on step=1
I am receiving the following errors:

Warning: mysql_pconnect(): Unknown MySQL Server Host '/home/myusername/public_html/mydbname' (1) in /home/myusername/public_html/mydbname/setup/setup.php on line 53

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/myusername/public_html/mydbname/setup/setup.php on line 57


My Web host’s system details are the following:

system: Linux
server: Apache/1.3.33 (Unix)
php: v4.3.9


Could someone Please help me

Thanks in advance.
Last edited by Alex123 on Wed 26. Apr 2006, 20:00, edited 1 time in total.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

Did your Hosting include a mySQL Database?
Did you enter the correct Host, Username and Passwort - mostly 'localhost' didn't work and you have to enter a full Address like db123.hosting.tld
also the Username and Passwort you get from your Hoster for Database-Access
and most time you have also a 'Databasename' what you must use or if not, you must first create a Database before starting the Setup - the Setup cannot create a Database only the Tables
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Alex123
Posts: 20
Joined: Fri 21. Apr 2006, 18:25

Post by Alex123 »

Hi pico and thank you for your reply,

My host is running MySQL 4.0.20. ( phpMyAdmin 2.6.0-pl2 )
I have created the database first, and for path I have used the one I usually use when installing similar scripts :

example : /home/db_username/public_html/db_name is this wrong ?
( this is also the path that comes up on the top of the first setup page ( step=1)

I have tried several times with all possible combinations but nothing.

Thank you


UPDATE: My mistake :oops: I was using the wrong dbname. I am very sorry for that :shock:
Post Reply