SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Oct 2002
    Location
    Georgia, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face i couldn't find the file myexample.cnf. please help!

    Hi all,

    I have installed mySQL to C: but i couldn't find the file myexample.cnf to change to my.ini, according to Kevin Yank, under XP. Please help!

    Thanks a bunch
    Richard

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do not quote me on this, but I think in newer versions of MySQL, the file is named example.cnf or something like that. See if you can find anything like that.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted from the MySQL web site:
    There are two option files with the same function: `my.cnf' and `my.ini'. However, to avoid confusion, it's best if you use only of one them. Both files are plain text. The `my.cnf' file, if used, should be created in the root directory of the C drive. The `my.ini' file, if used, should be created in the Windows system directory. (This directory is typically something like `C:\WINDOWS' or `C:\WINNT'. You can determine its exact location from the value of the windir environment variable.) MySQL looks first for the my.ini file, then for the `my.cnf' file.
    So look for a file called my.cnf. Any luck?

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  4. #4
    SitePoint Member
    Join Date
    Oct 2002
    Location
    Georgia, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Can't find example.cnf still

    Hi,
    I still couldn't find the file anywhere in the mysql folder i installed to. I just downloaded mysql version 3.23.52 and installed to c:

    All i find are my-huge.cnf,
    my-large,cnf, my-medium.cnf, and my-small.cnf.
    Can i take one of these files and rename to my.cnf? can that work?

    Am i missing something? did i, somehow, screwed it up in the installation process? It was smooth though. Can i still run mysql without the file?

    Thank you
    Richard
    Last edited by RichClayderman; Oct 11, 2002 at 10:09.

  5. #5
    Rent A Cop Dan
    Join Date
    Jul 2001
    Location
    Madison, WI
    Posts
    799
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You didn't miss anything...

    From http://www.sitepoint.com/books/errata.php
    The latest versions of MySQL for Win32 do not come with the my-example.cnf file described in the book. Get a copy of the file here (right-click and choose "Save Target As..." in MSIE).
    Hope that helps!

    dan
    Dan's Site
    Some Current Sites:365 Puns! # Joke It! #
    Pride & Joy!
    Current Projects: ArcadeRat! # Scouting News # yW

  6. #6
    SitePoint Member
    Join Date
    Oct 2002
    Location
    Georgia, USA
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Thanks, Dan!


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
  •