I can't connect to local MySQL server through socket 'mysql.sock': "From the manual (http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html): 'A MySQL client on Unix can connect to the mysqld server in two different ways: By using a Unix socket file to connect through a file in the filesystem (default `/tmp/mysql.sock'), or by using TCP/IP, which connects through a port number. A Unix socket file connection is faster than TCP/IP, but can be used only when connecting to a server on the same computer.' Therefore, do not make up a DSN like: mysql://USER:PASS@unix+HOST/DBNAME it has to be mysql://USER:PASS@HOST/DBNAME"
avoiding the hazards of code redundancy since 93
The perfect is the enemy of the good.
My Fave Links- A gentle introduction to SQL
- Inquirer 7
- Planet Source Code
- DevX
- Programmers Heaven
- Free VB Code
- VB Accelerator
- VB Helper
- VB City
- VBNet Visual Basic Resource Center
- Blackbelt VB
- C# Station
- C# on Linux
- C# Tutorial
- gizmag
- undextrois' programming anecdotes and code snippets
- My latest blog
- IRC - Quakenet Server, #tayotayolang
- Skype Me
- Yahoo Message Me
- Mail Me
- Yahoo Call Me
- Web-based typing speed test
Previous Posts
- Technical FAQ - OSx86: "Q: Why don't Chess and the...
- Power consumption and performance
- 360 Insider :: View topic - How-to: Install OS X x...
- Dual Layer DVD
- Let's start out with doing the installation on th...
- Joho the Blog: To Mac Users: How Badly Does Window...
- LinuxDevCenter.com: A Day in the Life of Dave the ...
- Enterprise Java Technologies Tech Tips: "AJAX stan...
- libqt3c102-mt - Ubuntu Forums: "I have worked arou...
- Computing.Net - VMware 5 on Ubuntu 5.10: " Eith...
Saturday, December 17, 2005
0 Comments:
Post a Comment
<< Home