Difference between revisions of "Talk:PhpMyAdmin"

From ArchWiki
Jump to: navigation, search
(concerned about a typo)
Line 22: Line 22:
 
'''is this a typo?'''
 
'''is this a typo?'''
 
under # Use for PHP 5.x:
 
under # Use for PHP 5.x:
 +
 
AddHandler php5-script php
 
AddHandler php5-script php
 +
 
to  
 
to  
 +
 
AddHandler php5-script .php
 
AddHandler php5-script .php

Revision as of 22:59, 2 June 2011

I have just installed mysql, and I've got

  1. mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


Thanks to the wiki i've done:

General MySQL Connectivity

Check /var/run/mysqld for mysqld.sock and /tmp for mysql.sock. If mysql.sock doesn't exist, create a softlink:

  1. ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

Then restart the daemon:

  1. /etc/rc.d/mysqld restart


But should the mysql package do this?

is this a typo? under # Use for PHP 5.x:

AddHandler php5-script php

to

AddHandler php5-script .php