1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

change to socet

This commit is contained in:
George Hunt 2021-10-06 18:10:07 +01:00
parent 4e97c8f5f2
commit 6f50fb66aa
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ $i++;
$cfg['Servers'][$i]['verbose'] = 'School Server Mysql Database'; $cfg['Servers'][$i]['verbose'] = 'School Server Mysql Database';
$cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = ''; $cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'][$i]['socket'] = '/var/run/mysqld/mysqld.sock';
$cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['user'] = 'root';

View file

@ -1,3 +1,3 @@
CREATE USER 'Admin'@'localhost' IDENTIFIED BY 'changeme'; CREATE USER 'Admin'@'localhost' IDENTIFIED BY 'changeme';
GRANT ALL PRIVILEGES ON *.* TO 'Admin'@'localhost' WITH GRANT OPTION; GRANT SELECT ON *.* TO 'Admin'@'localhost';
FLUSH PRIVILEGES; FLUSH PRIVILEGES;