-
-
Notifications
You must be signed in to change notification settings - Fork 17
mysql
Ryan Culpepper edited this page Jan 21, 2020
·
4 revisions
- https://www.computerbeginnersguides.com/blog/2017/10/27/install-configure-mysql-server-on-ubuntu-17-10-artful-aardvark/
- alternatives: MariaDB for Fedora 27 and MySQL for Fedora 27
Create user
-
https://stackoverflow.com/questions/5016505/mysql-grant-all-privileges-on-database
-
log in to mysql:
mysql -u root -p
-
create user 'ryan'@'%' identified by 'XXXX';
-
grant all privileges on *.* to 'ryan'@'%'; (optional
with grant option`) -
flush privileges
-
edit
/etc/mysql/mysql.conf.d/mysql.cnf
: in section[mysqld]
addbind-address = 0.0.0.0
-
restart:
sudo systemctl restart mysql
Protocol:
- https://dev.mysql.com/doc/internals/en/client-server-protocol.html
- https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_PROTOCOL.html
Authentication:
- sha2 authentication:
- MariaDB: https://mariadb.org/history-of-mysql-mariadb-authentication-protocols/
X Protocol: