Now we need to install a couple of extra packages, php5-mysql and mysql-client. Once you've confirmed your password, MySQL server should finish installing and the service should start. You will be prompted to confirm your password: You will need this later to create additional users for WordPress. You should be prompted for a root password:Ĭhoose a secure password, and keep it safe. I tend to use the –fix-missing flag when installing mysql-server as in the past I've found some packages were missing. Next we're going to install the actual MySQL server by typing: sudo apt-get install mysql-server -fix-missing Install any out of date packages when prompted. First we need to ensure everything's up-to-date: sudo apt-get update & sudo apt-get upgrade Now we're ready to start the installation. It may take a bit longer than usual to start back up, but yet again just let it do it's thing and you should be back up and running. When the reboot message is displayed, go ahead and reboot your Raspberry Pi by typing: sudo reboot The process takes approximately 5 minutes, after which you will see the following message: Important, make sure you have backed up everything just in case the firmware fails to update. The Firmware update utility will begin running. If your firmware does not appear to be Friday May 30, skip to step 2. Then we will need to roll it back to the April firmware in order to prevent the install from failing. If your firmare reads this: Linux raspberrypi 3.12.20+ #687 PREEMPT Fri May 30 16:39: armv6l GNU/Linux Type the following command to find which version of the firmware you have installed: sudo uname -a Step 1 – Important, check your firmwareīefore we begin, there is a bug either in Raspbian or in the Firmware which prevents a successful install of MySQL Server on Raspbian. I'm also assuming that you've followed the previous tutorial on how to install Nginx and PHP on Raspberry Pi. I'm assuming that you know your way round command line interface and are comfortable using it. This is part 2 in a 3 part tutorial which will ultimately see WordPress running from Nginx on your Raspberry Pi. In this tutorial, I'm going to go through the steps to install MySQL on Raspberry Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |