![]() There should be a slight delay followed by a “Service successfully installed”. Navigate to C:\nginx\mysql\bin\ and run : mysqld -install-manual ![]() If you get a message saying “Install/Remove of the Service Denied!” when trying to start MySQL later on, then you probably have UAC running, so this step is very important. Note: If you’re running Windows Vista or above with UAC enabled, you need to right click on the command line link and select “Run as administrator”. Myisam_sort_buffer_size = 8M Now let’s try and run our MySQL server Now in the block in the same file, change to match the following : Open up the newly copied my.ini file and change the block to match the following. This way, if something goes wrong with the new configuration, we still have the original handy to start over. I think the medium configuration takes care of most uses and, for a moderately busy site, it fares pretty well.Īlways try to copy exising files before making changes instead of outright renaming them. Once the cleanup is complete, copy my-medium.ini in C:\nginx\mysql\ into my.ini. This would come in handy if you want to deploy the whole ensamble on a thumb drive or package it for a demo application and are really penny-pinching the available storage space. If you want to minimize the folder even more, you can optionally delete any. MySQL no-install is a freakin’ huge download so feel free to delete mysql-test, Embedded, sql-bench and folders named debug once unzipped. Make sure to follow this directory structure!Įxtract MySQL to C:\nginx\mysql First, let’s configure MySQL The first steps are the same with the exception of the download link to MySQL and we need the no-install download. ![]() Once you’ve also downloaded Nginx (0.8.53 at the time of this post), head on to the PHP libraries and remember to download the Windows Libraries only (5.3.3 as of today) and select the thread safe version. To keep everything compatible, we’ll be using the 32 bit versions for all downloads. Kevin Worthington had very kindly provided a Cygwin build that ran on Windows, however Nginx now has a Windows build that we can use and this time, we can add MySQL to the list as well. I tried to leave this as “in 5 minutes”, but then I remembered how long it would take to download MySQL… Even on broadband. It’s a good way to tweak the stack to your own needs. Riez Opuz posted a link to his Xenstack project on that post that prompted me to write the rest of what I’ve been putting off. The last time I posted a tutorial on Nginx, there wasn’t a native port of the server available. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |