How to install MySQL database on raspberry pi
1 sudo apt-get install mysql-server.
2 sudo mysql_secure_installation. 5)Please hit Enter for current root password.
3 sudo mysql -u root -p. ...
4 show databases; ...
5 CREATE DATABASE Demo; ...
6 USE Demo; ...
7 CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin'; ...
8 GRANT ALL PRIVILEGES ON Demo.* TO 'admin'@'localhost';
Example and more details
how-to-install-mysql-database-on-raspberry-pi
--30--
No comments:
Post a Comment