Ubuntu10.04 install my-SQL and configure the phpMyAdmin graphic Management Interface

Source: Internet
Author: User
1 install mysqlsudoapt-getinstallmysql-server2 install apache2sudoapt-getinstallapache2 modify/var/www access permissions sudochmod777 & amp; #39;/var/www & amp; #39; open in a browser: http: // localhost if you see It...

 

1. install my SQL

 

 

Sudo apt-get install mysql-server

 

2 install apache2

 

Sudo apt-get install apache2

 

Modify/var/www access permissions

 

Sudo chmod 777 '/var/www'

Open http: // localhost in the browser

 

If you see "It works !" The installation is successful.

 

3. install phpMyAdmin

 

Sudo apt-get install libapache2-mod-php5 php5

Sudo apt-get install mysql-server php5-mysql

Sudo apt-get install phpmyadmin

Configuration:

(1) modify the php. ini file

 

 

Sudo gedit/etc/php5/apache2/php. ini

Add

Extension = mysql. so

Extension = dg. so

 

(2) modify config. inc. php

 

 

Sudo gedit/etc/phpmyadmin/config. inc. php

Modify or add the following content

$ Cfg ['servers'] ['$ I'] ['sockets '] ='/var/run/mysqld. sock ';

 

4. log on to phpMyAdmin.

 

You can select a language and enter the mysql logon name and password.

 

Author: Zhang Linlin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.