Zend Server CE | PDO | ubuntu 9.10 | /tmp/mysql.sock

You are using PDO and Zend Server CE and Ubuntu 9.10
You have a little problem?
This is The solution (thanks to @DwebConsulting).

sudo service mysql stop
sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak
sudo cp /etc/mysql/debian.cnf /etc/mysql/debian.cnf.bak
sudo vim /etc/mysql/my.cnf

replace every line starting with “socket =” by “socket = /tmp/mysql.sock”

sudo vim /etc/mysql/debian.cnf

replace every line starting with “socket =” by “socket = /tmp/mysql.sock” [...]

ubuntu on: ATI Mobility Radeon HD 3650 – hp EliteBook 8530p

To install ubuntu on this PC you need to

desactivate the FAN in the BIOS menu

Deactivate in the BIOS: Fan Always on while on AC Power

desactivate acpi for the ATI card

System > Administration > Hardware Drivers > ATI/AMD propietary FGLRX graphic driver: Install but don’t reboot now !!!
In a terminal: sudo aticonfig –initial
In a terminal: [...]