Mysql: Difference between revisions

From Piszczynski
piszczynski>Aleks
(Created page with " == 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 addres...")
 
piszczynski>Aleks
No edit summary
Line 1: Line 1:
== mySQL commands ==
Restart mySQL service
*sudo systemctl restart mysql


== Enable Remote access ==
== Enable Remote access ==

Revision as of 21:57, 9 November 2023

mySQL commands

Restart mySQL service

  • sudo systemctl restart mysql

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