MySql on Leopard?

I just downloaded and installed mysql-5.1.23-rc-osx10.4-i686.dmg.
There were no error messages in the installation, but when I try to start the server from the Preferences pane, the button goes blue for a second, but the server fails to start. I looked at the console messages, there were none, but the system log has the following:
Feb 21 16:21:13 waltsmac kernel[0]: Finder[138] Unable to clear quarantine `mysql-5.1.23-rc-osx10.4-i686.pkg': 30
Feb 21 16:22:01 waltsmac kernel[0]: Finder[138] Unable to clear quarantine `MySQLStartupItem.pkg': 30
Feb 21 16:22:21 waltsmac kernel[0]: Finder[138] Unable to clear quarantine `MySQL.prefPane': 30
Feb 21 16:22:49 waltsmac authexec[3793]: executing /Library/PreferencePanes/MySQL.prefPane/Contents/Resources/mahelper
What does "Unable to clear quarantine" mean? -- it sounds like a message from an anti-virus or something.
What do I need to do to get this working?
TIA,
Walt

I did search before posting, and I learned that the server version comes with MySql, and there was some advice about using xattr to clear the Quarantine. That didn't work - xattr said it didn't know anything about MySql, either generically or when I spelled out the whole filename.
There was a reference to "xattr -d com.apple.quarantine" but that appears to defeat the whole purpose of the quarantine in the first place. If it exists like an anti-virus quarantine, to keep bad stuff off my Mac, I'm not sure I want to do that!
Can anyone either explain what / how the quarantine works, or point me to a place I can learn more?
For some reason, this installation did NOT pop up the dialog box about "this was downloaded from the Internet, are you sure you want to install it?" - which seems to be the normal response to quarantine. I've seen that fairly often.
Walt
EDIT:
I got brave/foolish, and cd'd to the directory where the disk image lived and did
xattr -d com.apple.quarantine "mysql-5.1.23-rc-osx10.4-i686.dmg"
then reinstalled MySql. Now the quarantine messages are gone, but still MySql will not start.
W.
Message was edited by: walt_scrivens

Similar Messages

  • Enabling / accessing MySQL in Leopard

    I just got a new MacBook Pro which has OS X 10.5.6.
    I turned on Web Sharing (enabling Apache).
    I uncommented the line for PHP, and tested it by browsing to phpinfo, which says I am running PHP version 5.2.6. All is great so far.
    Scrolling down in the phpinfo page to the MySQL section it shows that my MySQL Client API Version is 5.0.67.
    Am I to assume that MySQL is not installed by default on a new Mac?
    If not, is there a good (and current for Leopard 10.5.6) tutorial someone can point me to so I can get up and running with MySQL?
    Thanks!

    Hi Jeff Mackey;
    Since MySQL is a Sun product it doesn't surprise me that it isn't installed with Leopard.
    You might find this site helpful;
    http://hivelogic.com/articles/2007/11/installing-mysql-on-mac-os-x
    Allan

  • Max_connections Stock MySQL on Leopard Server 10.5.3

    I'm working with a new install and am trying to go with the "out-of-the-box" configuration so the machine can be managed through Server Admin. My problem comes when trying to configure the MySQL server to raise the number of maximum connections available.
    In /etc/my.cnf I've added:
    max_connections = 300
    maxuserconnections = 300
    However, when the server starts I can see in the logs that the max_connections is set to 118, which I'm assuming is a default setting from somewhere. I've checked the machine for other my.cnf files, only finding one in my user directory where my MySQL username/password is set. I have no clue where else to check and the only option available in the Server Admin is for allowing network connections.
    I've done extensive google searches to no avail.
    Any help would be greatly, greatly appreciated.

    Resolved!!
    Here is the problem. Even though Server Admin tells you that it is setting the mysql root password, it is not.
    The root password that finally allowed me to login to mysql was the SYSTEM ROOT PASSWORD !!
    Arrrrggghhh!!!
    I don't know what password Server Admin is setting or why is calls it the mysql root password. Is there some other mysql account that would have worked with that password? I would like to know, but for now, I'm happy to finally be able to use MySQL on my Leopard Server.

  • PDO Driver for MySQL on Leopard

    I am testing a new blog engine that requires PDO Drivers for MySQL to be installed on the web server/php installation. I notice that the bundled Leopard PHP does not have PDO Drivers for MySQL, just SQLLite2 and SQLLite.
    Can I enable this without having to mess around withe recompiling? I am new to OSX in general and although not very familiar with Unix terminal commands, I can pretty much follow Terminal instructions posted here if that's what it takes. I suppose this is not a simple uncommenting issue on php.ini or Apache's config files as I have looked everywhere for this and don't see any obvious commented lines to enable it.

    Hi, I know very little of the inner workings of my computers, and I am not qualified to answer such a question. I can only answer the simple questions. The tech stuff is beyond my understanding.
    I am glad you found a solution.
    Ray

  • Mysql on Leopard, whats the best solution?

    Hi,
    Is there a simple way to get mysql to work on 10.5?
    I had it working perfectly on my macbook last year. Since then i've upgraded to a macbook "pro" (waves fingers insanely in parenthesis) and it doesn't work at all.
    I think my biggest error was to use the migration assistant, as it seemed like a good idea at the time, to bring in my previous system. Actually it was very good apart from this problem with mysql.
    Now when i try to connect to wordpress or drupal in the sites folder i get "Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)"
    and i've tried solutions from this site and the Apple KB for months to no avail.
    Is there a tried, tested and trusted install of php/mysq that i could follow? i'll re-install mac os if need be but i'd rather be sure.
    Simplicity is the most important because i don't have the time or headspace for being "unixman".
    - nick

    download and install mamp, it will give you a perfect working installation of mysql and apache

  • Can't Get Into MySQL on Leopard 10.5.1

    Hi,
    I just opened the box of a NEW XServe, was checking out MySQL to see if I needed to update the version that its running and I see its been made part of the install. That's great. However I turned it on as a service, tried to login with Navicat, and a host of other tools. No go. The response I get back from Navicat (and every other tool) is that I can't connect to the host on 127.0.0.1 (61). Ummm, that's a standard loopback address. I should be able to connect on that IP. Furthermore, when I change the IP to IP of the machine, no go either. And yes I'm connected to the 1st Ethernet Port, not the 2nd. Ethernet1 is up and running.
    Firewall is allowing ALL connections.
    So what am I missing ?
    Miles.
    PS: Asked this same question on the apple boards over the weekend, got no response.

    Hi,
    I figured it out.
    Apple stipulates that you MUST set a password BEFORE the first time that you connect to the server.
    Usually when I do an install to MySQL, it allows me to connect to it, without having to set a password the first time, I later on go back and set a password for my user and then everyone else's users.
    No matter, problem solved.
    Miles.

  • Mysql in chroot possible on Leopard?

    Has anyone successfully installed mysql from fink into a chroot on OSX? If so, how? The reason I ask is, I want to be able to accidentally wreck the mysql installation and simply wipe the chroot dir to start over from scratch if I want to. If there is a better way to do this, I'm open to suggestions.
    As it is now, I installed mysql from fink and received and error message that lead me discover mysql.sock was never created. I wanted to uninstall mysql and run the installation proceess again, however, now there are mysql files all over the place and I can't figure out how to uninstall it. I tried dselect and "sudo fink remove mysql", neither of which appeared to work. If anyone could help me clean mysql from Leopard ( beyond "rm /sw/bin/mysql*" ), as well, that would be appreciated.
    Thank you.

    1. I can't find the hidden file .profile - I have already used TextWrangler to browse though my folders and I still couldn't find it.
    It's entirely possible, and valid, for there to be no ~/.profile.
    If that's the case, just create it.
    2. No Terminal command mentioned in the file seems to work. All of them return error messages.
    Can you give an example, including the error message. The error message will go a long way to explaining why it didn't work.

  • SugarCRM stops working after Leopard upgrade

    My local copy of SugarCRM CE 4.5.1 was working in Tiger before I upgraded to Leopard last week.
    After the upgrade, SugarCRM complains with the following message:
    =====
    Warning: mysqli_connect() \[function.mysqli-connect\]: (HY000/2005): Unknown MySQL server host 'localhost:/tmp/mysql.sock' (1) in /Users/orest/Sites/ruby/ruby.sugarcrm_from-backup-20080813/include/database/Mys qliManager.php on line 419
    Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in /Users/orest/Sites/ruby/ruby.sugarcrm_from-backup-20080813/include/database/Mys qliManager.php on line 444
    Could not connect to server localhost:/tmp/mysql.sock as root.Unknown MySQL server host 'localhost:/tmp/mysql.sock' (1)
    =====
    A copy of PHPMyAdmin has not had any problems during the transition from Tiger to Leopard, nor have local copies of WordPress and Drupal.
    Any advice would be appreciated. I'm new to the subtleties of Apache/PHP/MySQL on Leopard, so please be gentle.
    Thanks.

    Thanks for the swift response.
    I'm familiar with the socket location issues with MySQL on Mac OS X. My local copies of WordPress and PHPMyAdmin both work with their configurations pointing to the socket at /tmp/mysql.sock. These installations were working, along with SugarCRM, before the Leopard upgrade. Only SugarCRM has stopped working after the upgrade.
    Is there something I misunderstand about your pointer?
    - O.

  • MySql fun! (sarcasm)

    Howdy.
    I just installed Leopard and, like a few other people here, I'm having a heck of a time getting MySQL running properly.
    Things I have done:
    - installed the latest MySql 5 build
    - Done this: http://angry-fly.com/index.cfm/2007/10/26/Fix-for-MySQL-on-Leopard
    - Done this: http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-1 05/
    - Done this... redundant of course. http://discussions.apple.com/thread.jspa?messageID=5645748&#5645748
    The problem I'm seeing is that I have aliases pointing to a mysql.sock file, but the original mysql.sock file is nowhere to be found! Thus I get this error in phpmyadmin:
    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
    PHP is running great. I just can't get mysql to run with the missing .sock file. How do I restore it?
    Message was edited by: RawrbOfPluh

    OK. Looking at your original post you say you have "done" everything in the posted links.
    Looking at the second link that means you will have created a my.cnf file which you will have placed in the /etc folder. Have you doubled checked the contents to see in the mysqld section that the socket setting does not have any typo's ?
    If the "Connect Using Socket" entry is the same as this setting it should work !!!

  • PhpMyAdmin "Not Found"

    I have Apache running and can access my local site fine. In my preferences pane, MySQL is up and running.
    The problem is that when I try to access the phpmyadmin of my local site, I get a Not Found 404 error, saying the file is not on the server.
    So far, I have used the socket file fix shown at the link below but I am still getting the error.
    http://www.angry-fly.com/index.cfm/2007/10/26/Fix-for-MySQL-on-Leopard

    I presume you mean MAMP, not MAME.
    When you launch MAMP, it should also launch your browser with a MAMP welcome page. Click the phpMyAdmin link at the top of that page.
    phpMyAdmin is always run through a browser.

  • Snow Leopard, PHP, MySQL, Apache and Wordpress!

    Hi there,
    It's taken me most of the day to work this out, so I thought I should post about it somewhere and here, on the Apple forum, is the ideal location.
    I'm a web developer and love the fact that my MacBook works out of the box with a Unix webserver and with little effort, I was able to set up PHP and MySQL on it. I was delighted to hear that the new Snow Leopard was shipping with the latest and greatest of both. It wasn't quite that easy when it came down to running my test sites, one of which I'm working on is a Wordpress site. Far from being daunting, the solutions to the problems I had were quite simple. The issues arose from the OS not having much exposure yet and not many people having posted their experiences on the web. It was just time consuming.
    I should mention at this point that this does require some tinkering with Terminal, but not so much as to cause damage if you do something wrong.
    First off Apache. Thankfully this is as stable as it always has been. All this requires to activate it is to visit System Preferences > Sharing and switch on Web sharing. Bish-bosh, job done.
    Next off PHP. If you open a Safari window and run your phpinfo.php file (where ever you have it saved. If you don't, they're out there, it's a tiny piece of code which you can use to find out your current php setup). You'll find that everything is superb! PHP 5.3! Excellent! Hang on, scroll down to the date and time section. Whoa! What's this big fat warning here.
    That warning my friend, has been the bane of my misery all day. Wordpress hates it. HATES IT! It causes no end of grief. So what's the multi step, multi program solution?
    Open your php.ini file and add the line:
    date.timezone=Country/City
    (do a Google search for PHP Timezones and you will get the exact settings. It's not so good that it understands every city in the world. My setting was Europe/Dublin).
    That's all. This will solve your issue of the timezone error everywhere. Stop and start Apache (System Preferences > Sharing, tick off and tick back on Web Sharing) and hey presto, error is gone.
    Wait a minute, where the **** is my php.ini file. Unfortunately this is where you have to get your hands dirty. Your php.ini file is a system file which resides in the /etc/ folder. Open a terminal window and type exactly the following:
    cd /etc/
    cp php.ini.default php.ini
    This makes the php.ini file from the default. This protects the original so if you ever need to create a new copy or if you make a mistake in the next steps, you can start again.
    Next I'm going to tell you how to edit this file. This uses a program called vi (there are GUI editors out there that will save you this heartache, so if anyone knows any, please post in response. I think TextWrangler is one).
    First you need to set the php.ini file so you can edit it. Type in exactly as follows:
    sudo chmod 777 php.ini
    Sudo is the superuser commmand. It may not be needed, but stick it in anyway. If you are asked for a password, put in your normal password (that you would be asked for say if you were installing something you downloaded).
    At the next prompt, type in:
    vi php.ini
    This will open the php.ini file. Using the up and down keys, find a blank line in the file. You will notice that alot of the lines start with ';'. These are commented lines. Once you find a blank line, press 'i' to insert text. Your screen will now say '-- INSERT --' at the bottom in red. Type the following in exactly (you will NOT be able to cut and paste):
    ; Set PHP Default Timezone
    date.timezone=Europe/Dublin
    Substitute "Europ/Dublin" with your own timezone. When you are done, press escape. Now type in the following:
    :wq!
    The colon is important (not a typo on my part) as this tells vi you are going to run a command. You should now be back at your prompt. Now you need to reset the permissions on the file. Type the following:
    sudo chmod 444 php.ini
    And that's it. That's your PHP setup and finished. If you run your phpinfo.php file now, you should see your timezone under the date and time where you were getting the error before.
    Now the MySQL. This is a bit of fun because, even though MySQL ships with the system, it's not exactly set up correctly! So once again into terminal.
    This time go to the local directory:
    cd /usr/local/
    If you type in:
    ls -al
    You'll get a directory listing. This has the MySQL folder listed as mysql-5.0.77-osx10.5-x86 (or something! I did that from memory!). This IS the MySQL folder but if you, like me, had previously set the MySQL Preference Pane in your System Preferences, then it won't be able to access this. Type the following command:
    sudo cp -R /usr/local/mysql* /usr/local/mysql
    This should copy everything into a folder called mysql. It takes a couple of seconds (first time on my machine it was a good 20 seconds) to run so be patient. Now you need to do the following:
    sudo chown mysql:mysql /usr/local/mysql
    This sets the owner and group of the mysql files to 'mysql'. If you go back to your MySQL preference pane in System Preferences, you should now be able to start it (something weird about it makes it require to close and reopen the System Preferences window before it can open the MySQL pref pane. This is normal, just click ok).
    The bit that got me here, is that I thought that my activation of the MySQL was actually a new install. I tried everything to change the root user and password for MySQL but in fact, if you had it installed on Leopard, prior to upgrading to Snow Leopard, all your users and passwords are the same. If you HAVEN'T installed it before, I recommend you read the Post Installation Customisation (section 2.3) on the manual for MySQL 5.1 on http://www.mysql.com
    So that's about it. All that remains is to test Wordpress. I have phpmyadmin installed (I've heard CocoaMySQL is very good, like iTunes for db's so I'm gonna check that out later) and was able to create the new wordpress database. I changed the settings in the wp-configure.php file to match my setup but nothing worked. I changed the host from '127.0.0.1' back to 'localhost' (a common complaint of the wordpress setup) but no joy. Then I changed the host back to '127.0.0.1' and added the port :3306 (so the full host is '127.0.0.1:3306') and bingo, the install worked, my database setup and my test site worked.
    So that's it! Many of you out there will say, why didn't you just use MAMP. I did use MAMP, but I also got the Timezone issues and it took far more tinkering and hacking to make it work. I decided that, as my lovely MacBook now running lovely Snow Leopard had the lovely newest versions of PHP and MySQL installed, I'd rather get them working than use a runaround with MAMP. I'm a happier camper for it.
    I hope this helps some of you out there. I don't personally have a blog yet, but when I do, I'll post this up there for all to access. I may even add screen shots!!! But seriously, I hope this helps you all out with your installs. It's so handy to have all this stuff straightaway with Snow Leopard, it's just a matter of getting it to work.
    All the best now,
    T

    Hmmmm... I did a clean drive install of Snow Leopard because I used to do it once a year with Windows and hadn't done it in 3 with my MBP.
    First, my httpd.conf file had the line enabling PHP commented out, so when I went to see my simple file with phpinfo(), I saw the source. Saw your post, thought it was the timezone, fixed that (which will probably make wordpress happy when I get it running), and it still didn't work. Looked at the httpd.conf file, found that PHP was disabled by default, fixed that line, restarted the server, and my phpinfo() worked like a charm.
    Also if you want to edit config files, I use TextWrangler's "open hidden files" option.
    But... I have no /usr/local directory at all. Doesn't exist on my machine. Checked the options in the base install and MySQL isn't offered as an option. Checked the optional installs and MySQL isn't there. Even letting spotlight search for hidden files, the only files with MySQL in their name were from php scripts in my web folders.
    There's some stuff about installing/compiling from source.
    http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
    Dunno if I want to go down that road quite yet.

  • MySQL installation in Snow Leopard Server appears to be broken?

    I tried
    sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
    and it failed.
    The mkmf.log said (in part):
    "gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DXOPENSOURCE -DDARWIN_CSOURCE -I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch x86_64 -pipe -L/usr/lib -lmysqlclient -lz -lm -lruby -pipe -L/usr/lib -lmysqlclient -lz -lm -lpthread -ldl "
    ld: library not found for -lmysqlclient
    collect2: ld returned 1 exit status
    checked program was:
    /* begin */
    1: /top/
    2: int main() { return 0; }
    3: int t() { mysqlsslset(); return 0; }
    /* end */
    So, I checked mysql_config:
    Usage: /usr/bin/mysql_config [OPTIONS]
    Options:
    --cflags [-I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT]
    --include [-I/usr/include]
    --libs [-pipe -L/usr/lib -lmysqlclient -lz -lm]
    --libs_r [-pipe -L/usr/lib -lmysqlclient_r -lz -lm]
    --socket [/var/mysql/mysql.sock]
    --port [0]
    --version [5.0.91]
    --libmysqld-libs [-pipe -L/usr/lib -lmysqld -lz -lm]
    Note that mysql_config appears to have been compiled with an assumption that /usr/lib
    would contain a -lmysqlclient shared library.
    Which assumption fails on my Snow Leopard Server installation:
    minisvr:~ root# ls -la /usr/lib/mysql
    ls: /usr/lib/mysql: No such file or directory
    Now, I'm reasonably certain that I have done nothing to cause this library to be missing;
    as I am also reasonably certain that the mysql_config found in /usr/bin is one shipped by
    Apple (as opposed to one I could have picked up somewhere else).
    Can anyone else out there verify: does Apple ship /usr/bin/mysql_config?
    If so, does it supply linker options like -L/usr/lib -lmysqlclient?
    If that also is true, does your /usr/lib actually contain an Apple-supplied libmysqlclient.*?
    Now, assuming that my installation is reasonably close to what Apple actually shipped,
    what should I do about it? Would I be better off to go find a source distribution,
    and build and install mysql, foregoing the Apple-supplied integration with
    management tools (e.g., using Server Manager to start/stop and monitor logfiles)?
    What do other users of mysql on Mac OS X Server do?
    Thanks,
    Tommy K

    I tried
    sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
    and it failed.
    The mkmf.log said (in part):
    "gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DXOPENSOURCE -DDARWIN_CSOURCE -I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch x86_64 -pipe -L/usr/lib -lmysqlclient -lz -lm -lruby -pipe -L/usr/lib -lmysqlclient -lz -lm -lpthread -ldl "
    ld: library not found for -lmysqlclient
    collect2: ld returned 1 exit status
    checked program was:
    /* begin */
    1: /top/
    2: int main() { return 0; }
    3: int t() { mysqlsslset(); return 0; }
    /* end */
    So, I checked mysql_config:
    Usage: /usr/bin/mysql_config [OPTIONS]
    Options:
    --cflags [-I/usr/include -fno-omit-frame-pointer -pipe -DP1003_1BVISIBLE -DSIGNALWITH_VIOCLOSE -DSIGNALSDONT_BREAKREAD -DIGNORESIGHUPSIGQUIT]
    --include [-I/usr/include]
    --libs [-pipe -L/usr/lib -lmysqlclient -lz -lm]
    --libs_r [-pipe -L/usr/lib -lmysqlclient_r -lz -lm]
    --socket [/var/mysql/mysql.sock]
    --port [0]
    --version [5.0.91]
    --libmysqld-libs [-pipe -L/usr/lib -lmysqld -lz -lm]
    Note that mysql_config appears to have been compiled with an assumption that /usr/lib
    would contain a -lmysqlclient shared library.
    Which assumption fails on my Snow Leopard Server installation:
    minisvr:~ root# ls -la /usr/lib/mysql
    ls: /usr/lib/mysql: No such file or directory
    Now, I'm reasonably certain that I have done nothing to cause this library to be missing;
    as I am also reasonably certain that the mysql_config found in /usr/bin is one shipped by
    Apple (as opposed to one I could have picked up somewhere else).
    Can anyone else out there verify: does Apple ship /usr/bin/mysql_config?
    If so, does it supply linker options like -L/usr/lib -lmysqlclient?
    If that also is true, does your /usr/lib actually contain an Apple-supplied libmysqlclient.*?
    Now, assuming that my installation is reasonably close to what Apple actually shipped,
    what should I do about it? Would I be better off to go find a source distribution,
    and build and install mysql, foregoing the Apple-supplied integration with
    management tools (e.g., using Server Manager to start/stop and monitor logfiles)?
    What do other users of mysql on Mac OS X Server do?
    Thanks,
    Tommy K

  • Trying to stop MYSQL service without success in snow leopard server

    Hello
    I trying to enabled MySQL service on snow leopard server.
    My hard drive name is "Macintosh HD2".
    I receive this message :
    Can't change dir to '/Volumes/Macintosh HD2/ServiceData/MySQL/' (Errcode: 2)
    I try to stop without success MySQL service for rename my HD without blank
    How do that please ?

    That's set up via the [MySQL command line|http://labs.hoffmanlabs.com/node/376]. Or you can install the (free) Sequel Pro GUI package, given you're probably more comfortable in the GUI. The steps required for Mac OS X Server are the same as most any other platform, so [launch the MySQL client per the Wordpress Codex|http://codex.wordpress.org/Installing_WordPress], and follow the instructions.

  • PHP/MySQL error since upgrading to Snow Leopard

    When I upgraded to Snow Leopard from Leopard I am getting errors on my webserver:
    *Warning: mysql_connect() http://function.mysql-connect: OK packet 6 bytes shorter than expected in /Library/WebServer/mysql_connect.php on line 8*
    *Warning: mysql_connect() http://function.mysql-connect: mysqlnd cannot connect to MySQL 4.1+ using old authentication in /Library/WebServer/mysql_connect.php on line 8*
    The MySQL server is hosted remotely, and the php files are running locally.
    Any ideas?
    Thanks in advance.

    Got mine working:
    I fixed the bug per http://bugs.php.net/bug.php?id=49267
    and
    I complied php-5.3.1RC1 with
    ./configure '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/private/etc' '--with-apxs2=/usr/sbin/apxs' '--enable-cli' '--with-config-file-path=/etc' '--with-libxml-dir=/usr' '--with-openssl=/usr' '--with-kerberos=/usr' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--with-curl=/usr' '--enable-exif' '--enable-ftp' '--with-ldap=/usr' '--with-ldap-sasl=/usr' '--enable-mbstring' '--enable-mbregex' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/var/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-iodbc=/usr' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-xsl=/usr'

  • Leopard MySQL help

    Hi Folks,
    After upgrading to Mac OSX 10.5 (Leopard) I discovered I
    could no longer connect to MySql. I immediately searched the web
    for a fix and found a few different posts offering solutions. No
    doubt due to my own lack of knowledge the terminal on the other
    'black arts' I was encouraged to delve into along the way, every
    post I followed failed to solve my problem.
    I'm sure it's all messed up behind the scenes now as I've
    dipped into all kinds of things trying to fix MySQL. The result is
    that when I try to connect through Cocoa MySql which was my tool of
    choice on OSX10.4 I get the following message:
    "Unable to connect to host localhost.
    Be sure that the address is correct and that you have the
    necessary privileges.
    MySQL said: Can't connect to local MySQL server through
    socket '/private/tmp/mysql.sock' (2)"
    I even tried MAMP which seemed to connect through PHPMyAdmin
    on the first try but following that I get this message:
    " #2002 - The server is not responding (or the local MySQL
    server's socket is not correctly configured) "
    I hate to ask but I really have tried everything over the
    past month (over and over again) and I seem to have run out of
    options. Does anyone has the time to help me find a solution?
    Cheers
    Dave

    davecheet wrote:
    > Hi Folks,
    >
    > After upgrading to Mac OSX 10.5 (Leopard) I discovered I
    could no longer
    > connect to MySql. I immediately searched the web for a
    fix and found a few
    > different posts offering solutions. No doubt due to my
    own lack of knowledge
    > the terminal on the other 'black arts' I was encouraged
    to delve into along the
    > way, every post I followed failed to solve my problem.
    > I'm sure it's all messed up behind the scenes now as
    I've dipped into all
    > kinds of things trying to fix MySQL. The result is that
    when I try to connect
    > through Cocoa MySql which was my tool of choice on
    OSX10.4 I get the following
    > message:
    > "Unable to connect to host localhost.
    > Be sure that the address is correct and that you have
    the necessary privileges.
    > MySQL said: Can't connect to local MySQL server through
    socket
    > '/private/tmp/mysql.sock' (2)"
    >
    > I even tried MAMP which seemed to connect through
    PHPMyAdmin on the first try
    > but following that I get this message:
    > " #2002 - The server is not responding (or the local
    MySQL server's socket is
    > not correctly configured) "
    >
    > I hate to ask but I really have tried everything over
    the past month (over and
    > over again) and I seem to have run out of options. Does
    anyone has the time to
    > help me find a solution?
    >
    "mysql.sock" may be missing or in the wrong directory:
    http://forum.mamboserver.com/showthread.php?t=70766
    Or per Dave Powers:
    Try this in Terminal:
    ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
    Mick

Maybe you are looking for

  • Need to see ALL files in folder when saving from Word 2003 OR Word 2013 program

    Here is the issue.... A customer of mine has the need to save files in order (Communications with customers by date and time) BUT..... when saving the file word does not let him see ALL the documents (.doc AND .docx) in the save dialog. (I know we co

  • I can't use the new Adobe Reader X on my Macbook Pro. HELP!

    The other day I downloaded the new Adobe Reader X on my MacBook Pro. Since then I can't open pdfs in Firefox. How can this problem be solved????

  • MacPro3,1 + Radeon HD 5870 + NEC PA271W-BK + DisplayPort

    Hello all, As metioned in the subject line, I have the following system configuration: 2008 Mac Pro ( MacPro3,1 ) : 2 x 3.2 Ghz Quad core ATI Radeon HD 5870 2 NEC PA271W-BK Displays As many of you know, this ATI video card has 1 DVI-D out and 2 MDP o

  • Call of Duty: Advanced Warfare at Best Buy

    Power Changes Everything. Call of Duty is back with their next, highly anticipated game, Call of Duty: Advanced Warfare. Call of Duty: Advanced Warfare envisions the powerful battlegrounds of the future, where both technology and tactic have evolved

  • Cannot see applications in i tunes

    Hi I have downloaded couple of applications but i cannot sync them to my iphone as i dont see a seperate sync window in itunes but definately i see a applications folder on the left with those apps Pls help