在ubuntu上安装mysql : How to install MySQL on ubuntu(转)
2011-03-29 15:36
429 查看
How to install MySQL On Ubuntu
Follow the instructions in this article to help you install MySQL and MySQL Query Browser on Ubuntu.Installing MySQL on Ubuntu:
To open the Terminal, go to Application > Accessories > Terminal
Type the following command at terminal.
$sudo apt-get install mysql-server
To be able to connect to mysql from internet, remove the restriction on the below file.
Open the file by typing the following command at terminal prompt.
$gksudo gedit /etc/mysql/my.cnf
Find the line bind-address = 127.0.0.1 and comment it out as shown below.
#bind-address = 127.0.0.1
mysql comes with no root password. To set the root password, type:
$mysqladmin -u root password your-new-password
$sudo /etc/init.d/mysql restart
Install mysql query browser
$sudo apt-get install mysql-query-browser
After installing, go to
Applications > Programming > MySQL Query Browserto connect to mysql as shown below.
Enter
Server Hostname,Username and Password.
Click onConnect and MySQL is now installed on Ubuntu.
转自:原始链接
相关文章推荐
- How to install cmake 3.2 on ubuntu 14.04? caffe安装错误的解决
- How to install MySQL on Ubuntu/Debian
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- How to install SOGo on Ubuntu ?(命令修改 )安装 sogo拼音法
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
- How To Install MySQL on Ubuntu 16.04
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- How To Install MySQL on Ubuntu 16.04
- How To Install LAMP (Linux, Apache, MySQL, PHP) On Ubuntu 11.04/11.10/12.04
- 如何在ubuntu 上安装tomcat::how to install tomcat on Ubuntu
- 如何在Ubuntu9.10上安装RealPlayer(How to install RealPlayer on Ubuntu)
- 在LInux上安装:mysql C connector :How to install MySQL Connector/C on Mac OS X?
- How To Install and Secure phpMyAdmin on Ubuntu 12.04(MySQL图形管理)
- 如何在ubuntu 上安装eclipse: how to install eclipse on ubuntu
- Ubuntu 14.04安装PostgreSQL How To Install and Use PostgreSQL on Ubuntu 14.04
- How to install mysql 5.5 or 5.6 on ubuntu 16.04 xenial
- [译]How to Install Node.js on Ubuntu 14.04 如何在ubuntu14.04上安装node.js
- How to install ZeroMQ on Ubuntu14.04