SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2002
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    trouble with my.cnf using MySql

    I am trying to setup mySql and I cant get my file my.cnf to work properly.
    I have my file as follows:
    basedir = c:/mysql/

    and am typing the command:
    mysqladmin -u root reload

    and I'm getting the error:
    error: Found option without preceding group in config file: C:\my.cnf at line: 1

    So, when i try to access the client side mysql, it gives me the same error.

    Any ideas??

    THanks!!
    -josh

  2. #2
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: trouble with my.cnf using MySql

    Originally posted by tx-aggie
    I have my file as follows:
    basedir = c:/mysql/
    that's all that's in the file? it has to be under a group/section. e.g.

    Code:
    [mysqld]
    basedir = c:/mysql/
    - Matt ** Ignore old signature for now... **
    Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
    "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR


Bookmarks

Posting Permissions

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