brew install mariadbmysql -u rootThen from within mysql (replace MyNewPass with actual password - note that it's cached in your home directory)
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'MyNewPass' WITH GRANT OPTION;
FLUSH PRIVILEGES;
/usr/local/etc/my.cnf/usr/local/etc/my.cnf.d/~/.my.cnfcp /usr/local/Cellar/mariadb/10.1.20/support-files/my-small.cnf /usr/local/etc/my.cnf.d/my.cnfnano /usr/local/etc/my.cnf.d/my.cnfbind-address = 0.0.0.0... so it looks like this:
[mysqld]
bind-address = 0.0.0.0
port = 3306
socket = /tmp/mysql.sock
I did this:
config.inc.phpuse cookie for login mode as it will prompt you when you go to site then
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
config.inc.php filename in the root directory of phpmyadmin. (easier if it works)this document last modified: October 06 2017 21:42