piszczynski>Aleks No edit summary |
piszczynski>Aleks |
||
Line 3: | Line 3: | ||
Restart mySQL service | Restart mySQL service | ||
*sudo systemctl restart mysql | *sudo systemctl restart mysql | ||
Show databases | |||
*mysql show databases | |||
== Enable Remote access == | == Enable Remote access == |
Revision as of 20:53, 14 November 2023
mySQL commands
Restart mySQL service
- sudo systemctl restart mysql
Show databases
- mysql show databases
Enable Remote access
Check config file:
- sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
Change bind-address from 127.0.0.1 (local host) to 0.0.0.0 to allow all ip addresses access