- Moderated by:
- Support
-
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
hello,
Am at 50% of upgrading and get this error while filling my DB entry? Can anyone help me please?
Warning: mysql_connect(): Unknown MySQL Server Host 'http' (1) in /home/ident/public_html/html/includes/classes/adodb/drivers/adodb-mysql.inc.php on line 350
Error connecting to DB
Program: /home/ident/public_html/html/install/db.php - Line N.: 45
Database: me_pnke1
Error (2005) : Unknown MySQL Server Host 'http' (1)
Thank you. -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
hello,
here's my DB.
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'myisam';
$pnconfig['dbhost'] = 'localhost';
after i fill in as localhost
then username: me_pnke
pass: my-login-pass
DB name: (again) me_pnuke
Table Prefix (for Table Sharing) : ??(dunno) this?
Could you help me with this?
--
Tur Shipai Tur -
- rank:
-
Professional
- registered:
- January 2004
- Status:
- offline
- last visit:
- 22.03.06
- Posts:
- 958
You entries should look something like this:Code
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'myisam';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'me_pnke';
$pnconfig['dbpass'] = '*********';
$pnconfig['dbname'] = 'me_pnuke';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'pn';
$pnconfig['encoded'] = '1';
$pnconfig['pconnect'] = '1';
$pnconfig['temp'] = 'pnTemp';
HTH -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
hello,
Mine looks like this:
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'myisam';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'me_pnke';
$pnconfig['dbpass'] = '********';
$pnconfig['dbname'] = 'me_pnke';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '0';
$pnconfig['pconnect'] = '0';
$pnconfig['temp'] = 'pnTemp';
Should i change to $pnconfig['prefix'] = 'PN'; FRom $pnconfig['prefix'] = 'nuke'; -
- rank:
-
Professional
- registered:
- January 2004
- Status:
- offline
- last visit:
- 22.03.06
- Posts:
- 958
No the prefix is ok. That's just a string that PN puts before the tablename.
Your config looks ok. Strange that you would get that error.
It looks like the script is setting the value of the $dbhost variable to 'http' somewhere.
You did follow all instructions in the /doc folder of the .761 installation files right? -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
Yes i think i did everything what the manual says, lets see manybe there's something i missed out. Will let you know and would appreciate more of your help. n thanx for the help already recieved....But dont think am done as yet :D -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 02.12.08
- Posts:
- 13418
Reupload the includes directory and see if that helps.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
Have tried that but i still gives me an error, as for now i have restored my back-up,will read the manual.txt once again thoroughly then will try to upgrade it once am very sure of it.
thanx for the help ainigma32 and Hammerhead, looking forward to more of your help hehehe ... Thanx alot really apprciate it.
--
Tur Shipai Tur -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
Have tried that but i still gives me an error, as for now i have restored my back-up,will read the manual.txt once again thoroughly then will try to upgrade it once am very sure of it.
thanx for the help ainigma32 and Hammerhead, looking forward to more of your help hehehe ... Thanx alot really apprciate it.
--
Tur Shipai Tur -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 02.12.08
- Posts:
- 13418
Quote
$pnconfig['dbhost'] = 'localhost';
Are you sure? The error would also occur if you had http://localhost/ in the host box.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- October 2005
- Status:
- offline
- last visit:
- 11.11.08
- Posts:
- 111
Really Verry verry Sorry ainigma32 n Hammerhead...it was a careless Error on my part for not following the instructions carefully. This is what happens when we dont follow instructions properly...well as i went thru the manual.txt i came across step no.9 where only users below the .723 version had to go thru this step http://ur-site.com/dir/install.php which i did yesterday n kept getting the error instead of skipping to step no.11...having used the .760 version i only had to invoke upgrade.php from my browser http://my-site.com/upgrade.php n follow the simple steps provided. Once followed everything, the procedure was somewhat simple.
i again apologise for unnecessarily troubling those who helped me and thank you once again.
-
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 02.12.08
- Posts:
- 13418
Glad you got your problem sorted. ;)
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide
