I have encountered such a problem today. Mysql is installed by default. /var/lib/mysql/mysql.sock But the development side can connect through databaseCB but can be replaced by /tmp/mysql.sock
In addition PHP
connection can not pass /var/lib/mysql/mysql.sock can only /tmp/mysql.sock just the opposite
mysql.php content
< ?php $link=mysql_connect('127.0.0.1 or native ip', 'root', '008'); if(!$link) echo "Failure!"; else echo "success!"; Mysql_close(); ?>
Remember to assign weight to this ip, and to release port 3306
At present, many schools have built campus networks and connected to the Internet, but there are so
In order to ensure the normal operation of the Linux system and accurately solve various system prob
single, enter single-user mode, then change the startup mode to id:3:initdefault: in /etc/inittab (t
1.LinuxOSVersion:RedHat AS 52. Network Environment Settings: Host (Linux): IP: 192.168.1.1 NetMark:
10 most common questions about Linux
mogileFS Distributed Storage - Installation Notes
Linux dirs command to display records in the directory stack
Related concepts of inode in linux file system
Filtering WEB attack source IP through cron timing task in Linux
Centos5.8 iptables management basic tutorial
Unix/Linux System Automation Management: Data Backup and Synchronization
Introduction to Linux File System Directory Structure
Linux network programming - complete read and write functions
Linux kernel service routines and system call interface
Win8 Ultimate Optimization Tutorial - Let your Win8 fly up
Win8 system "narrator" function start, close and disable
MyIE2 various application problem solving
Talking about the effectiveness of several system backup methods for data protection
How to set Chinese language in Cortana under win10 system
Alternative virtual machine: Windows 7 supports native boot from VHD
Microsoft continues to roll out the WM10 cumulative update, but the next one is not Build 10586.200
Deploying Django to Apache Web Server