SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Dec 2003
    Location
    New Zealand
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cd /usr/local/mysql no such file or directory.

    Hello all,

    I have downloaded and tried to install mysql, however I am having trouble with getting it started.

    The first command in the instructions is cd /usr/local/mysql
    I get an answer of no such file or directory.

    Does anyone know how I can get past this point? I have looked at similar posts but dont seem to find the answer.

    I downloaded “installer package, Standard, 4.0.18
    I’m using Mac OS 10.3.3 (panther)

    Thanks in advance
    Glen
    Last edited by glen_roff; May 17, 2004 at 18:39.

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /usr/local/mysql is the default in many cases. However it is not always that way. You need to find the installation dir of mysql. It might be

    /usr/bin/mysql
    /usr/lib/mysql

    Do a which mysql from the commandline to find it's location.

    Aaron
    Aaron Brazell
    Technosailor



  3. #3
    SitePoint Member
    Join Date
    Dec 2003
    Location
    New Zealand
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Aaron, tried it but no luck. I had the following results

    no mysql in /bin /sbin /usr/bin /usr/sbin

    I also tried lib. Does this help narrow the search?
    cheers
    Glen

  4. #4
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what was the result when you typed

    which mysql

    ??
    Aaron Brazell
    Technosailor



  5. #5
    SitePoint Member
    Join Date
    Dec 2003
    Location
    New Zealand
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no mysql in /bin /sbin /usr/bin /usr/sbin

  6. #6
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Either you're not answering my question or you don't have mysql installed at all. This is what I have on my server:
    Code:
    root@srv00 [/home/admin]# which mysql
    /usr/bin/mysql
    Aaron Brazell
    Technosailor



  7. #7
    SitePoint Member
    Join Date
    Dec 2003
    Location
    New Zealand
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no mysql in /bin /sbin /usr/bin /usr/sbin was the message I received when I typed in “which mysql”

    I downloaded “installer package, Standard, 4.0.18 but didn’t receive the installation file mysql-version.pkg. But then I was told that the .dmg file should automatically perform all the installation tasks of MySQL on the system.


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
  •