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
Web Design and Hosting Creating sites, scripting, and hosting discussions.

How to run MySQL Databases off Mac?


Post Reply New Thread Subscribe

 
Thread Tools
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
How would i go abouts running a MySQL DB off my Mac?

I have PHP already, and am in the process of trying to learn the two.

QUOTE Thanks
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
mySQL doesn't come installed, but you can download it:

http://dev.mysql.com/downloads/mysql/4.1.html

Its been awhile since I installed it but it was pretty simple, just follow the directions. I haven't had to mess with since I installed it, it has just worked...
QUOTE Thanks
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
mynameis...im the opposite of you. Would you care to help me out?

contact me at ramenbooko@gmail.com if you care.

QUOTE Thanks
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
Quote:
Originally Posted by Books
mynameis...im the opposite of you. Would you care to help me out?

contact me at ramenbooko@gmail.com if you care.
Did you manage to find the file to download from that link? There are seperate versions for the major OS X revisions, if you can just get that then it will practically install itself.
QUOTE Thanks
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
yea, i installed the package for OS x 10.3, then when i go to sys pref, MySQL...and i try to Start SQL server. Nothing happens. It loads for a bit, and still shows that the sql server isnt running.

QUOTE Thanks
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
Have you tried restarting?

Go to terminal and type /usr/local/mysql/bin/mysqladmin, see if it takes you into SQL options
QUOTE Thanks
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
Yes it takes me into the options. Ive restarted and still same thing with the MySQL pane.

QUOTE Thanks
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
In terminal try: sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

If you can go: /usr/local/mysql/bin/mysql in the terminal and you get to the sql command line, then it is running.
QUOTE Thanks
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
Alright, i did the command line to start it. It says starting server, then in the MySQL pane its still stopped.

Then when i try to access the second command, i get
Quote:
Error 2002.Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)

QUOTE Thanks
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
I don't know what to tell ya, it pretty much just worked for me, I didn't use the MySQL pane though
QUOTE Thanks
the_New_guy

 
the_New_guy's Avatar
 
Member Since: May 08, 2004
Location: delhi.india
Posts: 344
the_New_guy will become famous soon enough
Mac Specs: MacBook 2.4Ghz Black 4GB;iPod Touch 8GB;iPod mini 4GB silver;Logitech MX1000;

the_New_guy is offline
what about in 10.4, php is pre-installed right.

Mac OSX is the bomb :bomb:
The Gadget Cast Gadgets.in
QUOTE Thanks
Books

 
Books's Avatar
 
Member Since: Jun 06, 2005
Location: Toronto, Ontario
Posts: 130
Books is on a distinguished road
Mac Specs: PowerMac G5 Dual 2.0

Books is offline
PHP is preinstalled. I already have that working...MySQL is my problem :S

QUOTE Thanks
the_New_guy

 
the_New_guy's Avatar
 
Member Since: May 08, 2004
Location: delhi.india
Posts: 344
the_New_guy will become famous soon enough
Mac Specs: MacBook 2.4Ghz Black 4GB;iPod Touch 8GB;iPod mini 4GB silver;Logitech MX1000;

the_New_guy is offline
i want to get mysql for 10.4 on the site it is only for 10.3

Mac OSX is the bomb :bomb:
The Gadget Cast Gadgets.in
QUOTE Thanks

Post Reply New Thread Subscribe


« mac osx server. (php/mysql) | Web Page Size »
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
iPod for Windows and Mac? MacAddikt iPod Hardware and Accessories 12 03-31-2007 10:33 AM
Your Mac Life tonight... schweb Schweb's Lounge 0 03-26-2003 01:21 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 11:57 AM

All times are GMT -4. The time now is 09:21 PM.

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?