This is a discussion on "Help using MySql on windows server 2003" within the Databases section. This forum, and the thread "Help using MySql on windows server 2003 are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Help using MySql on windows server 2003
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help using MySql on windows server 2003
Hi,
I have MySql installed on windows server 2003 and put all the required db information in my php configuration file. When I attempt to login on one particular web page It is suppose to hit the database and pass my username and password to wherever then move to the next page being logged in. Instead I get this error: Can't open MySQL! Please make sure you have your MySQL Login, Database and Host information set correctly in the "config.cgi" file before running this script! If you are not sure of your MySQL information contact your webhost to obtain it. You CANNOT use any of these safelist scripts unless you have MySQL running correctly on your site and know your MySQL login information. I think that either php or MySql may be configured wrong on the server. Can someone help me on getting it set up the right way? I do not have a config.cgi file but I do have a config.php file. Thank-you, Eric |
|
|
|
||||
|
Re: Help using MySql on windows server 2003
config.php is right - its basically saying that you have entered the wrong information - database name etc, so, if there is no install screen with whatever it is you are trying to install, you need to go to config.php and enter the information directly
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Aug 16th, 2006 at 00:13. |
|
||||
|
Re: Help using MySql on windows server 2003
Can you post the contents of your config.php file for us? (Obviously remove any passwords.)
|
|
||||
|
Re: Help using MySql on windows server 2003
Basically a config.php should look something like this.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Help using MySql on windows server 2003
# MySQL (Database) Information
$sql_db_name = ""; $sql_user = ""; $sql_pass = ""; $sql_hostname ="localhost"; $sql_port ="3306"; thats what it looks like... |
|
|||
|
Re: Help using MySql on windows server 2003
thats exactly right.
|
|
||||
|
Re: Help using MySql on windows server 2003
I think config.cgi is a component of MySQL itself. I have only run MySQL on Linux and under Mac OS X so I am not entirely sure under windows.
Not sure what version of MySQL you have but maybe this will help you. http://dev.mysql.com/doc/refman/5.1/en/windows-troubleshooting.html
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Aug 29th, 2006 at 17:58. |
![]() |
| Tags |
| help, using, mysql, windows, server, 2003 |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| windows or linux server??? | Gerry | Webforumz Cafe | 11 | Mar 30th, 2008 23:09 |
| 301 redirect on windows server (not asp)? | modernape | Classic ASP | 10 | Mar 25th, 2008 11:38 |
| [Solved]Sending Mail In PHP With vBulletin on Windows 2003 Server | Sleaklight | Hosting & Domains | 4 | Mar 16th, 2008 17:28 |
| Quality UK Windows/SQL Server hosting required | D3mon | Hosting & Domains | 8 | Aug 19th, 2005 19:22 |