Re: Installation of MySQL
On 9/21/03 9:43 AM, Eduardo Melo [EMAIL PROTECTED] wrote: I have allready installed the MySql on my server. How do I start the Mysql ? best regards, Eduardo F. Melo PRO-IT Informatic on osx... If you are using Explorer 5.2 or better, or Netscape 7.1 or thereabouts http://mac-specialist.com/r/ascript_launch_mysqld_osx.html Or if you are using safari (due to its problems with javascript redirects) http://mac-specialist.com/test/applescript/mysql/ Hope it's useful... Bill Hernandez Plano, Texas -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
[Script] applescript_launch_mysqld_osx (launches shuts down mysqld)
OSX - OSX Here's some new OSX AppleScript application... This script that I wrote allows you to launch and shutdown the mysql server on osx... If you are using Explorer 5.2 or better, or Netscape 7.1 or thereabouts http://mac-specialist.com/r/ascript_launch_mysqld_osx.html Or if you are using safari (has problems with javascript redirects) http://mac-specialist.com/test/applescript/mysql/ Hope it's useful... Bill Hernandez Plano, Texas -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: 2-Questions: Starting MySQL and Shutting Down on OS X
On 9/5/03 7:47 AM, Fortuno, Adam [EMAIL PROTECTED] wrote: All: (1) I've got /user/local/mysql/data in my path, but when I attempt to run mysqld_safe I get a message reading: Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe Do I really need to be in the installation directory to kick-off the MySQL server? If so, why? (2) Anyone running OS X have a good way to automatically shut MySQL server before shutdown. Currently, I've got to do it manually. If someone else sits at my workstation, they may or may not restart/shutdown without shutting down the server. Before I invest time in trying to resolve, let me know if there is something quick and easy out there. Regards, Adam Adam Fortuno (E-mail).vcf Adam, Take a look at the message I just sent to the mysql forum [Script] applescript_launch_mysqld_osx (launches shuts down mysqld) Best regards, Bill Hernandez Plano, Texas -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Can't connect to local MySQL question
Hi, I've been writing software on the mac since 1987, but am brand new at unix/php/mysql, and that's where I'm headed so I'm reading everything I can get my hands on, but like anything else there's going to be a learning curve, that having been said... I followed the install instructions at http://entropy.ch , and was able to get mySql php installed on my G4 - (OSX 10.2.6) last night. I downloaded Navicat and setup a password for the mysql user. I created a connection called myDatabase_connection to a database called myDatabase. I was able to get everything running OK. Today when I restarted the machine, I tried to launch the php program that I was running last night, and kept getting an error 2002 below. Could someone take a look at the syntax below and see if you could spot what I am doing wrong? Thank you very much... Bill Hernandez Last login: Sat Aug 9 20:00:07 on console Welcome to Darwin! [Home:~] justMe% su Password: [Home:/Users/justMe] justMe# cd /usr/local/mysql [Home:/usr/local/mysql] justMe# chown -R mysql data/ [Home:/usr/local/mysql] justMe# echo [Home:/usr/local/mysql] justMe# ./bin/mysqld_safe [1] 479 [Home:/usr/local/mysql] justMe# Starting mysqld daemon with databases from /usr/local/mysql/data 030809 20:04:58 mysqld ended HERE I HIT RETURN TO GET THE PROMPT AGAIN (Should I have typed the name of the database here, then hit return?) [1]Done ./bin/mysqld_safe [Home:/usr/local/mysql] justMe# ./bin/mysql myDatabase ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [Home:/usr/local] justMe# cd / [Home:/] justMe# /usr/local/mysql/bin/mysql myDatabase ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [Home:/] justMe# mysql myDatabase ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [Home:/] justMe# -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]