RE: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Nicholas



Hi Daniel,

You are not alone in your quest to successfully start the mysqld 
server on a Mac OSX platform.  I am having similiar difficulty 
on my ibook...


 --- On Thu 01/22, Daniel Lahey  [EMAIL PROTECTED]  wrote:
From: Daniel Lahey [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 21 Jan 2004 22:39:39 -0800
Subject: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

Ok, I've read the release notes, the manual, the threads on this brmailing list, 
installed/removed/re-installed about 5 times, tried br4.0.1, 4.1, 5.0, and I can't 
get MySQL to run on my Mac (dual-proc br867MHz, 768MB RAM).  When I run configure, 
it tells me everything is brhunky-dory and that I should just be happy and run 
mysqld.  I try to brrun mysqld and it immediately aborts and tells me that 
/tmp/mysql.sock brisn't set up.  If I try to run mysqladmin -u root password 
password brjust like the manual tells me to, it aborts as above and tells me to 
brrun mysqld (or mysqld_safe).  The manual tells me I can just click on brthe dmg 
file and follow the instructions.  I've done that for both the brdistribution and 
the startup item several times (and re-started several brtimes in between).  I've 
read the manual about security and the root bruser account as the message instructed 
me to do.  No help.  I even brtried to compile the control center using the 
instructions I found for brthat, installed Qt as instructed, compiled it (I think, 
the brinstructions for that were along the lines of: Now just compile it and 
bryou're all done!  Hah!  Do you hear me?  Hah, I say.)  The brinstructions 
don't tell me where to install it or how to test for a brvalid installation.  When I 
try to compile CC it says install Qt brfirst.  I did.  3 times.  In 3 different 
places.  Copied all of the brinclude and lib files all over the freakin' hard drive 
to try to make brit happy.  Not happy.brbrOk, now, are there REAL instructions 
for installing some working brversion of MySQL on a Mac somewhere?  What do I REALLY 
have to do?  Has brsomeone actually documented the entire process or does the 
brdocumentation consist of the vague, scattered hints I've been able to brfind?  
I'd love to check out MySQL, but do I have to learn a secret brhandshake or pledge 
allegiance to Open Source or something?brbrThanks for any help.  Sorry to rant, 
but I've been working on this for brthree days now.brbr- DanbrbrP.S. Any 
notes on using it with Xcode would be appreciated, too.brbrbr-- brMySQL 
General Mailing ListbrFor list archives: http://lists.mysql.com/mysqlbrTo 
unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]brbr

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Eve Atley

I successfully used the packages from Server Logistics for this task,
installing PHP, Apache and MySQL first on my 10.2.8 Jaguar, then on my
10.3.2 Panther G4.
http://www.serverlogistics.com/mysql.php

- Eve



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread sulewski
I think this is the package I used. The one that I used actually wrote 
and init script so if you reboot mysql will start automagically.   I 
think this is the one.

Joe

On Thursday, January 22, 2004, at 08:51  AM, Eve Atley wrote:

I successfully used the packages from Server Logistics for this task,
installing PHP, Apache and MySQL first on my 10.2.8 Jaguar, then on my
10.3.2 Panther G4.
http://www.serverlogistics.com/mysql.php
- Eve



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


RE: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Eve Atley

This one actually installs a preference pane that allow you to manipulate
settings, start/stop server, and change root password. It's quite nice.

- Eve

-Original Message-
From: sulewski [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 7:25 AM
To: Eve Atley
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!


I think this is the package I used. The one that I used actually wrote
and init script so if you reboot mysql will start automagically.   I
think this is the one.

Joe

On Thursday, January 22, 2004, at 08:51  AM, Eve Atley wrote:


 I successfully used the packages from Server Logistics for this task,
 installing PHP, Apache and MySQL first on my 10.2.8 Jaguar, then on my
 10.3.2 Panther G4.
 http://www.serverlogistics.com/mysql.php

 - Eve



 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread sulewski
wow! That is nice

On Thursday, January 22, 2004, at 01:28  PM, Eve Atley wrote:

This one actually installs a preference pane that allow you to 
manipulate
settings, start/stop server, and change root password. It's quite nice.

- Eve

-Original Message-
From: sulewski [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 7:25 AM
To: Eve Atley
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: So, how do you REALLY install MySQL in Mac OS X 
(Panther)?!

I think this is the package I used. The one that I used actually wrote
and init script so if you reboot mysql will start automagically.   I
think this is the one.
Joe

On Thursday, January 22, 2004, at 08:51  AM, Eve Atley wrote:

I successfully used the packages from Server Logistics for this task,
installing PHP, Apache and MySQL first on my 10.2.8 Jaguar, then on my
10.3.2 Panther G4.
http://www.serverlogistics.com/mysql.php
- Eve



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Paul DuBois
At 22:39 -0800 1/21/04, Daniel Lahey wrote:
Ok, I've read the release notes, the manual, the threads on this 
mailing list, installed/removed/re-installed about 5 times, tried 
4.0.1, 4.1, 5.0, and I can't get MySQL to run on my Mac (dual-proc 
867MHz, 768MB RAM).  When I run configure, it tells me everything is 
hunky-dory and that I should just be happy and run mysqld.  I try to 
run mysqld and it immediately aborts and tells me that 
/tmp/mysql.sock isn't set up.  If I try to run mysqladmin -u root
Exact command used to start mysqld, and exact text of the error messages,
please -- not a text description of what happened.
password password just like the manual tells me to, it aborts as 
above and tells me to run mysqld (or mysqld_safe).  The manual tells 
me I can just
That makes sense. mysqladmin has to connect to the server. If the server
isn't running, none of the client programs will work.
click on the dmg file and follow the instructions.  I've done that 
for both the distribution and the startup item several times (and 
re-started several times in between).  I've read the manual about 
security and the root user account as the message instructed me to 
do.  No help.  I even tried to compile the control center using the 
instructions I found for that, installed Qt as instructed, compiled 
it (I think, the instructions for that were along the lines of: Now 
just compile it and you're all done!  Hah!  Do you hear me?  Hah, I 
say.)  The instructions don't tell me where to install it or how 
to test for a valid installation.  When I try to compile CC it says 
install Qt first.  I did.  3 times.  In 3 different places. 
Copied all of the include and lib files all over the freakin' hard 
drive to try to make it happy.  Not happy.

Ok, now, are there REAL instructions for installing some working 
version of MySQL on a Mac somewhere?  What do I REALLY have to do? 
Has someone actually documented the entire process or does the 
documentation consist of the vague, scattered hints I've been able 
to find?  I'd love to check out MySQL, but do I have to learn a 
secret handshake or pledge allegiance to Open Source or something?

Thanks for any help.  Sorry to rant, but I've been working on this 
for three days now.

- Dan

P.S. Any notes on using it with Xcode would be appreciated, too.


--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com
MySQL Users Conference: April 14-16, 2004
http://www.mysql.com/uc2004/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Santino
I installed MySql 4.0.x on MacOs 10.2.x and it works fine.

There are some problems of permissions: check /tmp and mysql data directory.

Santino

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-22 Thread Michael Stassen
Daniel Lahey wrote:

Ok, I've read the release notes, the manual, the threads on this mailing 
list, installed/removed/re-installed about 5 times, tried 4.0.1, 4.1, 
5.0, and I can't get MySQL to run on my Mac (dual-proc 867MHz, 768MB 
RAM).  When I run configure, it tells me everything is hunky-dory and 
that I should just be happy and run mysqld.  I try to run mysqld and it 
immediately aborts and tells me that /tmp/mysql.sock isn't set up.  If I 
try to run mysqladmin -u root password password just like the manual 
tells me to, it aborts as above and tells me to run mysqld (or 
mysqld_safe).  The manual tells me I can just click on the dmg file and 
follow the instructions.  I've done that for both the distribution and 
the startup item several times (and re-started several times in 
between).  I've read the manual about security and the root user account 
as the message instructed me to do.  No help.  I even tried to compile 
the control center using the instructions I found for that, installed Qt 
as instructed, compiled it (I think, the instructions for that were 
along the lines of: Now just compile it and you're all done!  Hah!  Do 
you hear me?  Hah, I say.)  The instructions don't tell me where to 
install it or how to test for a valid installation.  When I try to 
compile CC it says install Qt first.  I did.  3 times.  In 3 different 
places.  Copied all of the include and lib files all over the freakin' 
hard drive to try to make it happy.  Not happy.

Ok, now, are there REAL instructions for installing some working version 
of MySQL on a Mac somewhere?  What do I REALLY have to do?  Has someone 
actually documented the entire process or does the documentation consist 
of the vague, scattered hints I've been able to find?  I'd love to check 
out MySQL, but do I have to learn a secret handshake or pledge 
allegiance to Open Source or something?

Thanks for any help.  Sorry to rant, but I've been working on this for 
three days now.

- Dan

P.S. Any notes on using it with Xcode would be appreciated, too.

Dan,

I started with mysql 4.0.15 on 10.2.1 and am currently running 4.0.17 on 
10.3.2, so the good news is that this should be possible for you.  I can 
 imagine your frustration at this point, but you haven't provided 
enough information to diagnose the problem.  I can tell that the server, 
mysqld, is failing to start for you, so none of the steps after that 
(mysqladmin, for example) will work until that problem is fixed, as they 
all require a running server.

Because it is often the problem, and easy to fix, I'll go out on a limb 
and guess the problem may be the permissions on your /tmp directory. 
(At least one of the Mac OS X updates incorrectly sets the permissions 
on /tmp.)  MySQL runs as the mysql user, so that user must have 
permission to create the socket (/tmp/mysql.sock) in /tmp.  In the 
terminal, try this

  cd /tmp
  ls -l
The second line of output from ls (the one with ./) should look like this

  drwxrwxrwt  5 root   wheel  170 22 Jan 17:00 ./

If it does not, you should run

  sudo chmod 1777 .

then try to start mysql (sudo mysqld_safe) again.

As I said, that was just a guess.  If that's not it, we'll need more 
information to properly diagnose the problem.  The first thing to do is 
look at the error log.  I expect you have mysql installed in 
/usr/local/mysql, with data and log files in /usr/local/mysql/data.  In 
the data directory there should be a file named hostname.err (where 
hostname is the name of your computer).  This file should contain a line 
or two explaining why mysql failed to start up.  If you need further 
help, tell us what error message you get when you try mysqld_safe 
(copy/paste), what hostname.err says, what version of mysql, and what 
version of OS X you have.

Michael

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


So, how do you REALLY install MySQL in Mac OS X (Panther)?!

2004-01-21 Thread Daniel Lahey
Ok, I've read the release notes, the manual, the threads on this 
mailing list, installed/removed/re-installed about 5 times, tried 
4.0.1, 4.1, 5.0, and I can't get MySQL to run on my Mac (dual-proc 
867MHz, 768MB RAM).  When I run configure, it tells me everything is 
hunky-dory and that I should just be happy and run mysqld.  I try to 
run mysqld and it immediately aborts and tells me that /tmp/mysql.sock 
isn't set up.  If I try to run mysqladmin -u root password password 
just like the manual tells me to, it aborts as above and tells me to 
run mysqld (or mysqld_safe).  The manual tells me I can just click on 
the dmg file and follow the instructions.  I've done that for both the 
distribution and the startup item several times (and re-started several 
times in between).  I've read the manual about security and the root 
user account as the message instructed me to do.  No help.  I even 
tried to compile the control center using the instructions I found for 
that, installed Qt as instructed, compiled it (I think, the 
instructions for that were along the lines of: Now just compile it and 
you're all done!  Hah!  Do you hear me?  Hah, I say.)  The 
instructions don't tell me where to install it or how to test for a 
valid installation.  When I try to compile CC it says install Qt 
first.  I did.  3 times.  In 3 different places.  Copied all of the 
include and lib files all over the freakin' hard drive to try to make 
it happy.  Not happy.

Ok, now, are there REAL instructions for installing some working 
version of MySQL on a Mac somewhere?  What do I REALLY have to do?  Has 
someone actually documented the entire process or does the 
documentation consist of the vague, scattered hints I've been able to 
find?  I'd love to check out MySQL, but do I have to learn a secret 
handshake or pledge allegiance to Open Source or something?

Thanks for any help.  Sorry to rant, but I've been working on this for 
three days now.

- Dan

P.S. Any notes on using it with Xcode would be appreciated, too.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]