View previous topic :: View next topic |
Author |
Message |
IBMer -
Joined: 12 Mar 2003 Posts: 2
|
Posted: Wed Mar 12, 2003 7:03 am Post subject: Warning: mysql_pconnect()[function.mysql-pconnect]: Can't |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Mar 12, 2003 5:01 pm Post subject: Re: Warning: mysql_pconnect()[function.mysql-pconnect]: Can' |
|
|
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 |
|
|
vbgunz -
Joined: 02 Feb 2003 Posts: 615 Location: Florida
|
Posted: Wed Mar 12, 2003 7:25 pm Post subject: |
|
|
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 |
|
|
IBMer -
Joined: 12 Mar 2003 Posts: 2
|
Posted: Thu Mar 13, 2003 12:45 am Post subject: phpmyadmin |
|
|
Thanks for the info. PhpMyAdmin looks like a great tool. :D |
|
Back to top |
|
|
vbgunz -
Joined: 02 Feb 2003 Posts: 615 Location: Florida
|
Posted: Thu Mar 13, 2003 2:18 am Post subject: |
|
|
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 |
|
|
|