problem with connection to MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jx2
    New Member
    • Feb 2007
    • 228

    problem with connection to MySQL

    i decidet to repeat my old post and ask more precisely
    so...:
    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
    jx2
  • zeebiggie
    New Member
    • Apr 2007
    • 8

    #2
    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

    Comment

    Working...