mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
change to socet
This commit is contained in:
parent
4e97c8f5f2
commit
6f50fb66aa
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ $i++;
|
|||
$cfg['Servers'][$i]['verbose'] = 'School Server Mysql Database';
|
||||
$cfg['Servers'][$i]['host'] = 'localhost';
|
||||
$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]['auth_type'] = 'cookie';
|
||||
$cfg['Servers'][$i]['user'] = 'root';
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue