I have MySQL working in Public Beta

mr_sonicblue

Registered
OK, here's the binary:

http://www.heatware.com/Files/mysql-3.23.24-beta-powerpc-apple-darwin1.2.tar.gz

Please DO NOT TRY THIS unless ALL of you important files are backed up. Although I can tell you I'm not trying to so so, I'm not responsible if this sends your computer into a flaming spiral of death. That said, here's how to use it:

- download the above file to /usr/local
- log into root
- use these commands to install it:
gunzip mysql-3.23.24-beta-powerpc-apple-darwin1.2.tar.gz
tar xvf mysql-3.23.24-beta-powerpc-apple-darwin1.2.tar.gz
rm mysql-3.23.24-beta-powerpc-apple-darwin1.2.tar.gz
- use these commands to run it:
cd /usr/local/mysql
./bin/safe_mysqld

That should start it up just fine. BUT, On my computer I am unable to get the daemon to shutdown (with 'mysqladmin shutdown' or force quitting with the process app) but things like 'mysqladmin reload' work fine.

The only testing I've done is setting up permissions and creating databases as root with 'mysql' and creating tables and inserting data as a normal user with both 'mysql' and a PHP4 interface running from local Apache so don't be surprised if anything else causes the daemon to crash.

I --> DID <-- get compile errors when 'make; make install'ing the binary, but I used the ignore (-i) switch to bypass them.

Good luck! :)
 

vlod

Registered
does this binary include the pthreads package which is
needed to run mysql?

if not, would it be possible for you to build this for us?
:)

thanks for your help..

-vlod
+++++++++++++
vlod@vlod.com
 

Zesty

Registered
Works just like he said. Running like a champ. Can't run the run-all-tests perl script, though, because dbi.pm can't be found....


 

iPLouis

Registered
Hi,

well, you should have noticed that the make errors
deals with the absence of the pthread_kill and
pthread_sigmsg implementation. It should explain
the daemon shutdown disfunction.

I was working on the stable mysql 3.22.32 version.
I tried last night to bypass these pthread lacks with
a make -i, but the compilation never ends...

Did you have had the same problem?

*alex*

Originally posted by mr_sonicblue
That should start it up just fine. BUT, On my computer I am unable to get the daemon to shutdown (with 'mysqladmin shutdown' or force quitting with the process app) but things like 'mysqladmin reload' work fine.
 

vlod

Registered
hmmm... if you can 'make' the mysql-package, are you able to 'make' the pthreads package?

-vlod
 

mr_sonicblue

Registered
Did you have to modify any of the source or did it build with what was there?
I had to modify some parts of the configurations process inwhich the host type is guessed (since there's no support for Darwin) and 2 of the includes to at least give partial pthread support.

I was working on the stable mysql 3.22.32 version.
I tried last night to bypass these pthread lacks with
a make -i, but the compilation never ends...
Mine does end, but one file (yacc.cc I believe) takes nearly 2.5 hours to compile on my PowerBook.

 

iPLouis

Registered
Yes, it's this file that my imac doesnt digest...
I let it compiling all the night... but I dont want to
hurt my new HD ;-)

I may not have enougth memory (64Mb),
but I have compiled it several times on LinuxPPC
in a short time (< 30mn).

I'll try to work on it this week.

Thanks,

*alex*

Originally posted by mr_sonicblue
Mine does end, but one file (yacc.cc I believe) takes nearly 2.5 hours to compile on my PowerBook.
[/B]
 
Top