---

Ubuntu LAMP Server MySQL Database Configuration

[ Thanks to Andrew
Weber
for this link. ]

“The MySQL server provides the database that will be
connected with PHP and Apache. Installation is easily done with
apt-get.

sudo apt-get install mysql-server

“During the process you will be asked to create a password for
the root user for MySQL. Note this is not the root user for the
Linux system and the accounts should have different passwords. Be
sure to write down the password. When the installation program
completes, you can use the netstat utility to verify that MySQL is
running correctly:

sudo netstat -tap | grep mysql
tcp 0 0 localhost:mysql *:* LISTEN 844/mysqld”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis