faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 12 people (83%) answered Yes
Recently 3 of 5 people (60%) answered Yes

Entry

Can I change the default socket that PHP uses for MySQL?

Jul 27th, 2008 03:38
dwi h, Nathan Wallace, Jim Winstead


Code to do this will appear in 3.0.10. It allows a syntax like: 
    mysql_connect("localhost:/bfd/msql.sock", ...

see this

http://www.w3schools.com/php/php_ref_mysql.asp