Unix Technical Forum

Error accessing MySQL server from PHP

This is a discussion on Error accessing MySQL server from PHP within the MySQL forums, part of the Database Server Software category; --> I've installed MySQL and I find I can use it from the 'mysql' command, however when trying to use ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-03-2008, 03:50 PM
plenty900@yahoo.com
 
Posts: n/a
Default Error accessing MySQL server from PHP


I've installed MySQL and I find I can use it from the 'mysql' command,
however when trying to use it from a PHP script I get this:

Warning: mysql_connect() [function.mysql-connect]: Lost connection to
MySQL server at 'reading initial communication packet', system error:
111

Anybody know what this signifies and how to fix it? My set up is very
simple.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com