![]() ![]() Make sure your Windows installation is in good shape, you clear out all the junk and stuff making it run slower (because installing all this server software certainly isn't going to make it run faster!) and that you have installed any outstanding updates.ĪNOTHER NOTE: Watch out for the irritating "Do you want this program to get control of your computer" window that comes up at various stages. ![]() I never use Windows and I managed, but this may not be the quickest or most efficient way to do things. NOTE: This assumes that you are comfortable with administering a Windows system and can use the command line. Proper server configuration and security is not considered. This is intended only as a testing/evaluation install via 'localhost'. CodeBank - ASP / ASP.These are instructions for installing on Windows 7 desktop (they may also be useful for a server install with some thought to security) using individual components rather than a one click installer.Slow Chat with the Microsoft Visual Basic team.Universal Windows Platform and Modern Windows Experience.Quick Navigation UtilityBank - Tutorials Top PLEASE HELP ME WHERE AM I GOING WRONG !!! ![]() I have create my.cnf file as you suggested in C: drive with following contents : P.S : my db name is :test_schema table name : sample password and username : root Thrown in C:\apache2\htdocs\mysql-php.php on line 3 įatal error: Uncaught exception 'PDOException' with message 'could not find driver' in C:\apache2\htdocs\mysql-php.php:3 Today i wanted to configure MYSQL db to PHP and apache so i have downloaded and installed mysql-5.5.13-win32 as per the instructions above. ĭid the setting as shown in the and successfully i was able to RAN php scripts via apache server. Installed PHP 5.3 (5.3.27) VC9 x86 Non Thread Safe version from php official site In particular I use VC9 builds of Apache and PHP. I don't remember the exact solution, but if you install everything according to my two tutorials (Apache/PHP and this one), it ought to work. I have had trouble getting PDO to work on a 64-bit system in the past because of incompatible libraries. If so, what versions of the software are you using?Īre you using a 64-bit Windows, and if so, did you install 64-bit versions of any of the packages? Silly question perhaps, but did you do steps 1 and 2 in the last section? To do this, set up a file called my.cnf and place it in your C:\ directory. If this is a development machine, you might want to set up your client to log in as 'root' by default. Test the installation by running the MySQL command-line client.It's in bin under the directory where you installed MySQL. If the wizard freezes for more than about 20 seconds at this point, close it and run it again. The settings will be written to a file ( my.ini). Enter a password, then finish the wizard.Select "Include Bin Directory in Windows PATH".This will set the default character set to UTF-8. Select 'Best Support for Multilingualism'.If you change this, you'll need to specify the port in any applications that connect to the server. Select 'Manual setting', then enter a small number of concurrent connections.Once the wizard has finished, the MySQL Server Instance Configuration Wizard starts.You will see a 'MySQL Enterprise' popup at some point. Proceed through the wizard, selecting a 'Typical' installation.You can use either the 32 or 64-bit version. Grab the installer - it's much smaller than the zip archive. Follow the link "No thanks! Just take me to the downloads.") (Don't be fooled! You don't need to create an account. Note: If you're planning to use MySQL with PHP, follow the tutorial Installing PHP 5.3 and Apache HTTP Server on Windows 7 first, if you haven't done so already.Īt the time of writing, the latest stable version is 5.5.13. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |