ubuntu_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ubuntu_notes [2019/01/26 11:51] – juckins | ubuntu_notes [2019/01/26 12:12] – juckins | ||
---|---|---|---|
Line 42: | Line 42: | ||
Installing mysql: | Installing mysql: | ||
+ | |||
< | < | ||
sudo apt install mysql-client-core-5.7 | sudo apt install mysql-client-core-5.7 | ||
sudo apt install mysql-server | sudo apt install mysql-server | ||
- | </code? | + | sudo / |
+ | </code> | ||
+ | |||
+ | Then login with this: | ||
+ | sudo mysql -u root -p | ||
+ | |||
+ | See notes at [[https:// | ||
+ | |||
+ | Other SQL commands/ | ||
+ | CREATE USER ' | ||
+ | GRANT ALL PRIVILEGES ON *.* TO ' | ||
+ | CREATE DATABASE dbname; | ||
+ | SET PASSWORD FOR ' | ||
---- | ---- | ||
ubuntu_notes.txt · Last modified: 2021/02/21 11:09 by juckins