New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.5 - Compiling MySQL for Leopard


Post Reply New Thread Subscribe

 
Thread Tools
Neko_D

 
Member Since: May 21, 2007
Posts: 17
Neko_D is on a distinguished road

Neko_D is offline
Hi, I am trying to compile a copy of MySQL 5.0 on my Macbook. Problem is that I cannot seem to get the make file to be made properly.

Can anyone help me?

Here is the output I get after trying to run ./configure
Code:
macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ ./configure --prefix=/usr/local/mysql --with-unix-socket-path=/usr/local/mysql/run/mysql_socket

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h darek-blankenbuhlers-macbook.local password 'new-password'

Alternatively you can run:
./bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ chown: /opt/source/mysql-5.0.51b-osx10.5-x86/data/darek-blankenbuhlers-macbook.local.err: Operation not permitted
Starting mysqld daemon with databases from /opt/source/mysql-5.0.51b-osx10.5-x86/data
STOPPING server from pid file /opt/source/mysql-5.0.51b-osx10.5-x86/data/macbook.local.pid
080526 15:39:43  mysqld ended


macbook:mysql-5.0.51b-osx10.5-x86 dblanken$ sudo make
Password:
make: *** No targets specified and no makefile found.  Stop.
QUOTE Thanks

Post Reply New Thread Subscribe


« bluescreen, now graphics trouble mbk | Right-Click menu »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Fresh install of MySQL denies access to root IceLatte Web Design and Hosting 0 06-24-2007 05:04 PM
MySQL Configuration = :( jimz Web Design and Hosting 2 04-13-2006 07:25 AM
Installing mySQl on Mac OS X sealey Web Design and Hosting 7 06-02-2005 10:45 PM
Removing MySQL from Panther 3.6 vawolf OS X - Operating System 0 12-07-2004 09:25 PM
MySQL password retardation mrtojamura OS X - Development and Darwin 0 02-19-2004 08:13 PM

All times are GMT -4. The time now is 06:09 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?