Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 12
  1. #1
    Matsaki's Avatar
    Matsaki is offline Registered User
    Join Date
    Nov 2001
    Location
    Cyprus
    Posts
    556
    Thanks
    6
    Thanked 1 Time in 1 Post

    MySQL will not start

    I just bought a new Macbook Pro 2.4 and starting fixing it with only fresh installs. I installed the OS X 10.5 (x86_64) pak. It was running fine until now.

    The start/stop in the pref.pane don't work and if I do a "mysql start" in the terminal I get:

    MacBookPro:~ matsaki$ mysql start
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    I tried to reinstall but it did not help. What's bugging??? And what to do?

    Thank's!
    G4 Quicksilver 867Mhz / 896RAM / 2 x 120Gb HD. Mac OS X Leopard 10.5.8
    PPC G4 Alu 1.5GHz (BT 2) / 2Gb RAM / 80Gb HD. Mac OS X Leopard 10.5.8
    Macbook Pro 2.4GHz / 6Gb RAM / 500Gb HD / Mac OS X 10.8.3
    Macbook Pro 2.3GHz (mid 2012) / 16Gb RAM / 256Gb SSD / Mac OS X 10.8.3
    iPhone 4 / 8Gb / iOS 6.1.3

  2. #2
    macworks's Avatar
    macworks is offline Christopher Raymond
    Join Date
    Mar 2006
    Location
    Minneapolis, MN
    Posts
    443
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Using the terminal, create a filed called "my.cnf" in /etc and put the following inside of it, then start MySQL ...

    [mysqld]
    socket=/tmp/mysql.sock
    Christopher Raymond
    ACTC

    Owner/Operator: MacWorks

  3. #3
    tenjin is offline Registered User
    Join Date
    Apr 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    There are a few issues with MySQL on Leopard.

    Follow these two links. If you do what they suggest you will get a working MySQL installation with MySQL Preference pane:

    http://angry-fly.com/index.cfm/2007/...SQL-on-Leopard

    http://www.angry-fly.com/index.cfm/2...ork-In-Leopard

    NOTE for the second link: When you change the permissions on the created file in the instructions using:

    sudo chown root:wheel mysql.server

    change "root" to whatever your current admin username is. for example

    sudo chown tferguson:wheel mysql.server


    Cheers

    D.

  4. #4
    Matsaki's Avatar
    Matsaki is offline Registered User
    Join Date
    Nov 2001
    Location
    Cyprus
    Posts
    556
    Thanks
    6
    Thanked 1 Time in 1 Post
    Det funkar inge bra för mig i länk 2 där?

    MacBookPro:support-files matsaki$ sudo chown matsaki:wheel mysql.server
    MacBookPro:support-files matsaki$ mv mysql.server mysql.server.real
    override rwxr-xr-x root/wheel for mysql.server.real? (y/n [n]) y
    mv: rename mysql.server to mysql.server.real: Permission denied
    MacBookPro:support-files matsaki$
    G4 Quicksilver 867Mhz / 896RAM / 2 x 120Gb HD. Mac OS X Leopard 10.5.8
    PPC G4 Alu 1.5GHz (BT 2) / 2Gb RAM / 80Gb HD. Mac OS X Leopard 10.5.8
    Macbook Pro 2.4GHz / 6Gb RAM / 500Gb HD / Mac OS X 10.8.3
    Macbook Pro 2.3GHz (mid 2012) / 16Gb RAM / 256Gb SSD / Mac OS X 10.8.3
    iPhone 4 / 8Gb / iOS 6.1.3

  5. #5
    Matsaki's Avatar
    Matsaki is offline Registered User
    Join Date
    Nov 2001
    Location
    Cyprus
    Posts
    556
    Thanks
    6
    Thanked 1 Time in 1 Post
    Got it to work now, The only problem is that MySQL don't start up when starting the computer. I hace installes tha startup pkg and also checked the "Aytomatically start up..) in the pref pane.
    G4 Quicksilver 867Mhz / 896RAM / 2 x 120Gb HD. Mac OS X Leopard 10.5.8
    PPC G4 Alu 1.5GHz (BT 2) / 2Gb RAM / 80Gb HD. Mac OS X Leopard 10.5.8
    Macbook Pro 2.4GHz / 6Gb RAM / 500Gb HD / Mac OS X 10.8.3
    Macbook Pro 2.3GHz (mid 2012) / 16Gb RAM / 256Gb SSD / Mac OS X 10.8.3
    iPhone 4 / 8Gb / iOS 6.1.3

  6. #6
    deltatango is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello. I am having the same problems. Can you please describe what worked for you?

    Thanks

  7. #7
    tenjin is offline Registered User
    Join Date
    Apr 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    If you follow the two links I posted earlier you should be fine.

    That said, in the end I simply downloaded MAMP and used that. Much easier.

    Cheers

    Darren.

  8. #8
    deltatango is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Darren,

    The links unfortunately go back to the homepage when I click on them.

    I will try mamp.

    Do you know how I should go about "uninstalling" mysql & php that I currently have? Should I just delete the mysql folders?

    Thanks,
    David

 

 
Page 1 of 2 12 LastLast

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
  •