怎樣安裝在ubuntu12.04上安裝mysql
Abstract
MySQL is the most trusted and depended-on open source database platform in use today. As such, 9 out of the top 10 most popular and highly trafficked websites in the world rely on MySQL primarily due to its ubiquity across heterogeneous platforms and application stacks and for its well-known performance, reliability and ease of use. This blog entry will guide you through the step-by-step installation of MySQL 5.5 on Ubuntu Linux 12.04 LTS 32 bit. This installation is performed on a clean installation of Ubuntu Server 12.04 32 bit.
Step 1: Open your Terminal
Press the following keyboard shortcut:
1
|
Ctrl
+ Alt + T |
Step 2: Update your package cache
Run the following command in your terminal:
1
|
sudo apt-get
update |
Step 3: Install the mysql-server-5.5 package
Run the following command in your terminal:
1
|
sudo apt-get
install mysql-server-5.5 |
Step 4: Create a new MySQL database
Run the following commands in your terminal, replacing newdatabase
, newuser
andnewpassword
:
1
2
3
4
|
mysql
-u root -p CREATE
DATABASE newdatabase; GRANT
ALL PRIVILEGES ON newdatabase.* TO newuser@localhost IDENTIFIED BY 'newpassword' ; Press
CTRL + D |
Step 5: Check whether MySQL is running
Run the following command in your terminal:
1
|
sudo netstat
-tap | grep mysql |
You should see the following line or something similar:
1
|
tcp
0 0 localhost:mysql *:* LISTEN 2810 /mysqld |
Step 6: Congratulations – You have just installed MySQL on Ubuntu. Share this fantastic news using one of the share buttons or leave a comment in the reply section below.
相關文章
- 怎樣在 Ubuntu Linux 上安裝 MySQLUbuntuLinuxMySql
- mysql在linux上cmake安裝方法(自己安裝版)MySqlLinux
- 怎樣判斷mysql是否安裝成功MySql
- 怎樣安裝jupyter?
- linux上安裝mysqlLinuxMySql
- mysql在linux安裝MySqlLinux
- 怎樣檢視mysql的安裝目錄MySql
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- 怎樣在桌面上安裝 Docker CE?Docker
- 怎樣在雲伺服器安裝ftp伺服器FTP
- 在centos7上安裝mysql5.7CentOSMySql
- 在VMware已安裝的CentOS7.9上編譯安裝mysql5.6CentOS編譯MySql
- 在CentOS上安裝dockerCentOSDocker
- 在Windows上安裝MavenWindowsMaven
- 在centos上安裝molochCentOS
- SDL在win上安裝
- 在virtualbox上安裝ubuntuUbuntu
- 在Ubuntu上安裝MariaDBUbuntu
- 在CentOS上安裝GitCentOSGit
- 在Linux上安裝gskitLinux
- 在Debian上安裝freeswitch
- 在DebianStretch上安裝FFmpeg
- 在Android上安裝EntwareAndroid
- 在docker上安裝AWVSDocker
- Linux安裝解除安裝MySQLLinuxMySql
- Mysql 5.7在OL 6上以RPM包安裝MySql
- 透過mysql官網在伺服器上安裝mysqlMySql伺服器
- flash player win10如何安裝_在win10下怎樣安裝flash playerWin10
- 本地Windows10怎樣配置免安裝版本MySQL?WindowsMySql
- Ubuntu 16.04 上安裝 MySQL 5.7UbuntuMySql
- Linux Centos上安裝 MySQL 8.0.16LinuxCentOSMySql
- 在ubuntu上安裝docker, 使用國內的安裝源UbuntuDocker
- 【推薦 - glibc安裝】MySQL - 安裝MySql
- 怎樣在Ubuntu 13.04,12.10,12.04安裝Qmmp 0.7.2Ubuntu
- mysql 安裝MySql
- 安裝mysqlMySql
- MySQL安裝MySql
- 在騰訊雲上安裝mysql遇到的問題MySql
- 在Ubuntu 18.04上安裝TensorflowUbuntu