By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,614 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,614 IT Pros & Developers. It's quick & easy.

problem with connection to MySQL

P: 228
i decidet to repeat my old post and ask more precisely
1: PROBLEM - sometimes connection doesnt starts (on avg 1 in 5 -i counted it )
2: script works well on commercial sever but not on my own pc
3 i use windows XP apache mysql 5.xx php4
4 i use mysql_connect() - its anonymus account for local host
5 i tried mysql_pconnect() but the same error ocurre
6 error :

mysql_pconnect(): Can't connect to MySQL server on 'localhost' (10022)

my code have a few mysql_quey() select and update
not all of the tables r updated(i no sure what couse it could be because of first error- refresh)

i run apache, php and mysql on the same machine so thats no cables:-)

what is it - configuration? it works on my commercial server so i'am sure there is no problem with code - and code is quite simple so there shouldnt b version problem

i will appereciate any help - i am at the point i cant coupe with it on my own :-(

thanks a lot
Apr 22 '07 #1
Share this Question
Share on Google+
1 Reply

P: 8
1. I would probably point a figure at mysql installation. Its probably something to do with some corrupt file or something. I had such an sure before and all I did was to reinstall mysql. be sure to backup your databases before you unistall mysql
Apr 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.