I get wp to work locally on mya mac. Other apps like phpmyadmin and EZ Publish works fine.
My wpconfig is
/** The name of the database for WordPress */
define('DB_NAME', 'planraad');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', 'thepassword');
/** MySQL hostname */
define('DB_HOST', 'Localhost');
I have also written
mysql.default_socket = /tmp/mysql.sock
in php.ini
also
mysqli.default_socket = /tmp/mysql.sock
Doesent work.
Phpmyadmin connects at this:
/* Servers configuration */
$i = 0;
/* Server: 127.0.0.1 [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'ErlFl1';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
Any hints on how to get wordpress to work lokally?