Add linux notes

This commit is contained in:
2022-05-06 00:50:43 +03:00
parent ec0feb6324
commit 8491309c9d
4 changed files with 43 additions and 0 deletions

18
linux/mysql_commands.txt Executable file
View File

@@ -0,0 +1,18 @@
install:
sudo apt install mysql-server
sudo apt install libmysqlclient-dev
user creation:
CREATE USER 'socialstore' IDENTIFIED BY 'socialstorepassword';
SELECT user FROM mysql.user;
database creation:
CREATE DATABASE StoreDatabase;
GRANT ALL PRIVILEGES ON StoreDatabase.* TO socialstore;
database management:
USE StoreDatabase;
SHOW TABLES;
installation: