Skip to content

Install MySQL server on Windows 10 bash

FiveTech Software edited this page May 21, 2019 · 18 revisions

sudo apt-get update

sudo apt-get install mysql-server

sudo service mysql start

sudo mysql -uroot -p

mysql> show databases;

mysql> exit;

sudo apt-get install libmysqlclient-dev


If the mysql-server installation stops with this error:

Cannot stat file /proc/1/fd/5: Operation not permitted

then, close the bash, reopen it and do this:

sudo service mysql start

sudo dpkg --configure -a


location for client lib: /usr/lib/x86_64-linux-gnu/libmysqlclient.so

Clone this wiki locally