Warning: mysql_pconnect()[function.mysql-pconnect]: Can't

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
IBMer
-


Joined: 12 Mar 2003
Posts: 2

PostPosted: Wed Mar 12, 2003 7:03 am    Post subject: Warning: mysql_pconnect()[function.mysql-pconnect]: Can't Reply with quote

Any ideas on how to fix this error:

Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'localhost' (10061) in C:\Program Files\Abyss Web Server\htdocs\db_mysql.inc on line 72
Database error: connect(localhost, , $Password) failed.
MySQL Error: ()
Session halted.

Any help is apreciated!
Back to top View user's profile Send private message MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Mar 12, 2003 5:01 pm    Post subject: Re: Warning: mysql_pconnect()[function.mysql-pconnect]: Can' Reply with quote

It means that your PHP script was unable to connect to the database. This can be because you suplied wrong paramaters (bad hostname, bad password or username) or simply because the database server is not running.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Wed Mar 12, 2003 7:25 pm    Post subject: Reply with quote

If you're on Windows and you're using a script which requires a database of its own means you'll have to *create* one first. Running MySQL is running your database engine. You'll now either need to know your command lines or get a third party tool like phpMyAdmin at http://www.phpMyAdmin.net to help you create the databases you need, along with users, priveledges, etc...

phpMyAdmin is a really good GUI for MySQL and it should be able to help you administrate your MySQL databases easily... Goodluck :)
_________________
Victor B. Gonzalez
http://aeonserv.com
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
IBMer
-


Joined: 12 Mar 2003
Posts: 2

PostPosted: Thu Mar 13, 2003 12:45 am    Post subject: phpmyadmin Reply with quote

Thanks for the info. PhpMyAdmin looks like a great tool. :D
Back to top View user's profile Send private message MSN Messenger
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Thu Mar 13, 2003 2:18 am    Post subject: Reply with quote

Cool, I am happy... I really wish someone would've pointed it out to me when I first started with MySQL... Good luck with it, BTW a quick guide is posted on it in the tutorials forum. Again, good luck ;)
_________________
Victor B. Gonzalez
http://aeonserv.com
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group