localhost is usually what people use when trying to connect to a MySQL server on their machine. 127.0.0.1 is ok, but sounds worse than localhost Simply, just locate your php.ini file of the PM installation (Normally /bin/php[5 or 7]/bin/php.ini), then locate the MySQL socket file (It's in my.cnf or whatever the MySQL config file is called), which is in the option socket = BLAH. Well, now just add this line: Code: mysqli.default_socket=YOUR-SOCKET-PATH YAY! Works with PurePerms, for example. Like if useful!