Raspberry Pi Web Server

Step 8: Install MySQL

Again, either start an SSH session, or continue if you're already in one.

Type in "sudo apt-get install mysql-server mysql-client php5-mysql" and hit Return / Enter.
You will be asked "Do you want to continue?", press the "y" key, then Return / Enter.
This will take a while to download and install, but a screen will appear asking you to set "New password for the MySQL "root" user", enter a password, then confirm it.
Again, wait a while, then you're done.
Remove these adsRemove these ads by Signing Up

Get More Out of Instructables

Already have an Account?


PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!