First download the Mysql installation package from the Internet
Download link:https://dev.mysql.com/downloads/mysql/
tar -xvf mysql-server_5.6.37-1ubuntu14.04_amd64.deb-bundle.tar
chmod +x *.deb
sudo dpkg –i libaio1_0.3.110-2_amd64.deb
sudo dpkg -i mysql-common_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg -i mysql-community-server_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg -i libmysqlclient18_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg -i libmysqlclient-dev_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg –i libmysqld-dev_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg –i mysql-community-client_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg –i mysql-client_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg –i mysql-common_5.6.37-1ubuntu14.04_amd64.deb``sudo dpkg –i mysql-community-server_5.6.37-1ubuntu14.04_amd64.deb
The root password input box pops up:
sudo dpkg –i mysql-server_5.6.37-1ubuntu14.04_amd64.deb
mysql mysql –uroot –p
create database erp;
use erp;
source /home/orm/mysql.sql;
Recommended Posts