Results 1 to 5 of 5

Thread: SQL Help

  1. #1
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378

    SQL Help

    I cant get the server to connect heres what I get

    C:\MYSQL\BIN>mysqladmin -u root shutdown
    MYSQLADMIN: connect to server at 'localhost' failed
    error: 'Can't connect to MySQL server on 'localhost' (10061)'
    Check that mysqld is running on localhost and that the port is 3306.
    You can check this by doing 'telnet localhost 3306'

    I tried to telnet into localhost i get connection failed.... whats wrong?

  2. #2
    Join Date
    May 2001
    Location
    Dayton, Ohio
    Posts
    4,962
    Maybe mysql isn't on
    -Mat Sumpter
    Director, Product Engagement
    Penton Media

  3. #3
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378
    C:\MYSQL\BIN>mysqld-nt

    C:\MYSQL\BIN>mysql
    ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

    C:\MYSQL\BIN>

    i cant get it to come on

  4. #4
    Join Date
    Jun 2001
    Location
    Chicago, IL
    Posts
    1,953
    First check if its running, the task manager will say. If its not, add the basedir options, should be something like:

    mysqld --basedir=C:\mysql

    depending on where you keep the mysql dir. Also check the mysql error log, it should be located in a subdirectory of your basedir.

    Installing mysql in windows is fairly simple, I did it twice this week without any problems, also I run mysqld, not mysql-nt, and it works fine for me.
    Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
    http://www.chicago-ecigs.com

  5. #5
    Join Date
    Mar 2002
    Location
    St. Louis, MO
    Posts
    1,378
    k i think i got it.... it is easy i know, but i got frustrated trying to configure my other system at the same time as this one lol Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •