Recent Posts
- (02/24) Calling an Element from a Helper TAGS:CakephpWeb ProgrammingUsageTutorialExample
- (10/14) Forcing A Single Join in CakePHP PaginationTAGS:CakephpCakephp 13DatabaseErrorsHabtmMysqlMssqlWeb ProgrammingUsage
- (08/11) Inserting NOW() into MySQL Using CakePHPTAGS:CakephpDatabaseMysqlMssqlWeb ProgrammingUsage
- (08/07) Best PaginateCount for CakePHP - with Group By SupportTAGS:CakephpBehaviorsWeb ProgrammingUsageDatabaseExampleMysqlHabtmHack
- (04/03) CakePHP Error Messages Not Showing on FormTAGS:CakephpCakephp 13Web ProgrammingErrorsUsage
- (02/06) Sorting Paginated Results Using a Related Model Field in CakePHPTAGS:CakephpWeb ProgrammingUsageExample
- (11/02) Changing CakePHP's Model useTable on the FlyTAGS:CakephpWeb ProgrammingMysqlDatabaseExampleTutorial
- (10/18) The Funniest Error Message Ever - Thank You EclipseTAGS:EclipseWeb ProgrammingErrorsHumorWindowsUsageSoftwarePhpCakephp
Subscribe to my feed
MainelyDesign.com Blog
Manually Installing MySQL on Windows 2003 Server
Posted on 09/02/2009 at 12:02 pm by Kevin Wentworth
Viewed 1,467 times | 0 comments
I have been trying to install MySQL on a web server running Windows 2003 for quite a while now. I was finally successful! Here's how I did it...
Does your server have a hard-coded IP address?
If so, you need to make localhost refer to the manually assigned IP address in your hosts file. This file is located in C:\Windows\System32\drivers\etc.
Default hosts file will say:
- 127.0.0.1 localhost
Modify your hosts file to reflect the binded IP address (be sure to save your changes!):
- 10.1.1.x localhost #or whatever your binded IP address may be
This is the most important step. This is why MySQL didn't work for out of the box.
It took me a while before I tried this. If you keep getting 'Can't connect to MySQL server on localhost" errors and you don't have a firewall blocking port 3306, this is probably what's going on. MySQL comes default with access granted to localhost. However, if you've manually assigned an IP address to your server, MySQL WILL NOT WORK!
To test if this is working, go to the command prompt and type in "ping localhost". You should see the IP address you entered above getting pinged, not 127.0.0.1.
Now the MySQL instructions should work as proscribed
The installation instructions at mysql.com will now work.
Tags for Manually Installing MySQL on Windows 2003 Server
Mysql | Web Server Admin | Windows | Iis | Software
Comments for this Posting
No comments. Be the first to post a reply.
Sorry, comments are closed for this posting.
Please Email Kevin if you have any questions. Thanks!
