User Tools

Site Tools


Sidebar

linux:mysql_mariadb:mysql_mariadb

MySQL / MariaDB

Add Database + User

 CREATE DATABASE 'mydb';
 CREATE USER 'myuser'@'192.168.1.123' IDENTIFIED BY 'some_password';
 GRANT ALL PRIVILEGES ON mydb.* TO 'myuser'@'192.168.1.123';
 FLUSH PRIVILEGES;
linux/mysql_mariadb/mysql_mariadb.txt · Last modified: 2015/04/02 07:15 by Nold