Loading ...
Sorry, an error occurred while loading the content.

Re: php-mysql prob

Expand Messages
  • Shadow Warrior
    Pls ensure that your mysql daemon is running by checking the process list. Then use the following command mysql -u root -h localhost -p default password is
    Message 1 of 2 , Apr 25, 2005
    • 0 Attachment
      Pls ensure that your mysql daemon is running by checking the process
      list. Then use the following command

      mysql -u root -h localhost -p

      default password is '' means blank or 'root'

      I think your problem will be solved

      Thanks
      Hasin

      --- In phpexperts@yahoogroups.com, sunny barru <sunny_personal@y...>
      wrote:
      > Hi, How can i overcome this prob? when i going to login on my server
      mysql this prob show
      >
      > [sunny@localhost sunny]$ mysql -u root -
      > ERROR 2002: Can't connect to local MySQL server through socket
      '/var/lib/mysql/m
      > ysql.sock' (2)
      > [sunny@localhost sunny]$ mysql -u localhost -p
      > Enter password:
      > ERROR 2002: Can't connect to local MySQL server through socket
      '/var/lib/mysql/m
      > ysql.sock' (2)
      > [sunny@localhost sunny]$ mysql -u localhost -p
      > Enter password:
      > ERROR 2002: Can't connect to local MySQL server through socket
      '/var/lib/mysql/m
      > ysql.sock' (2)
      >
      >
      > sunny
      >
      >
      > ---------------------------------
      > Do you Yahoo!?
      > Yahoo! Small Business - Try our new resources site!
    Your message has been successfully submitted and would be delivered to recipients shortly.