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.

question about installing MySQL on a mac


Post Reply New Thread Subscribe

 
Thread Tools
hintbanana

 
Member Since: Jan 06, 2008
Posts: 7
hintbanana is an unknown at this point

hintbanana is offline
I've enabled Apache and PHP on my OS 10.3.9-running Mac, and am trying to figure out if the MySQL program installed correctly. I ran both the MySQLStartupItem.pkg and mysql-osx10.3-powerpc.pkg, which both said "installation successful" and in the terminal, I typed the command: sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
which gave me back the statement: "Starting MySQL database server".

I'm super-new to this -- I know my PHP is running, but at this point, how do I make sure MySQL working? Does that message above mean that it is?

Thanks
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
From the mysql manual:

To start the daemon:
Quote:
If you have installed the Startup Item, use this command:

shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(Enter your password, if necessary)
(Press Control-D or enter "exit" to exit the shell)


If you don't use the Startup Item, enter the following command sequence:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(Enter your password, if necessary)
(Press Control-Z)
shell> bg
(Press Control-D or enter "exit" to exit the shell)
Once this is done, you should be able to connect to the MySQL server, by running /usr/local/mysql/bin/mysql.

I'm in your forums, writing sentences in a grammatically acceptable manner.
QUOTE Thanks
Ghostshadow

 
Ghostshadow's Avatar
 
Member Since: Feb 21, 2005
Location: Indianapolis
Posts: 2,073
Ghostshadow is a jewel in the roughGhostshadow is a jewel in the roughGhostshadow is a jewel in the rough
Mac Specs: iBook G3 - You'll be missed.

Ghostshadow is offline
A little suggestion: If you don't want to deal with all of the configuration you can use MAMP, it's free and it works fantasitc. I use it do mirror my sites locally to develop on.

QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Quote:
Originally Posted by Ghostshadow View Post
A little suggestion: If you don't want to deal with all of the configuration you can use MAMP, it's free and it works fantasitc. I use it do mirror my sites locally to develop on.

Mamp is a great app.

But my question is can you configure mamp/apache/mysql so that php files can live in any folder and be viewed as web pages rather than having to live in a sub-folder of the htdocs folder in mamp?
QUOTE Thanks

Post Reply New Thread Subscribe


« Tripod Help | safari acting very strange with my site »
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
Who's got the most Macs? narf1899 Schweb's Lounge 139 11-24-2012 10:53 AM
Has The Mac Been Hacked...... MaDDoG Apple Rumors and Reports 5 05-01-2007 07:06 PM
Mac newbie...installing video camera. Help! angel129116 Other Hardware and Peripherals 1 04-24-2007 10:30 PM
Question about Parallels-Data and Installing Software markw10 Running Windows (or anything else) on your Mac 1 09-09-2006 11:29 AM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 10:18 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?