Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > Mysql does not start automatically, help?

 
Mysql does not start automatically, help?
Thread Tools
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Nov 3, 2002, 03:17 PM
 
How to make mysql start automatically?

The problem / situation is a mac with jaguar, apache, mysql, php and a forum hosted ( phpbb2 ) - the problem is that mysql does not start automatically.

In the folder of mysql there was a folder that was required to be copied to the folder of the automatic start of the system. And under X there is the StartupItems in System/Library/.. the file is copied in the required place but it does not want to start automatically. Where is the problem or what can be wrong? The autostart of mysql would be essential for the forum, in case the power qoes away for a while it should start automatically once the situation normalizes...
::1 ::2 ::3 ::
     
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Nov 5, 2002, 10:29 AM
 
... just in case would be of any use for anyone, it was a problem caused by apache 2. so changing that to apache resolved it.
::1 ::2 ::3 ::
     
Junior Member
Join Date: Oct 2002
Status: Offline
Nov 10, 2002, 09:36 PM
 
Originally posted by Mulattabianca:
... just in case would be of any use for anyone, it was a problem caused by apache 2. so changing that to apache resolved it.
It is not a problem with apache 2.0 or Jaguar. That is just the way it is. But there is ofcourse a work around. Create and AppleScript. Since now the terminal in Jaguar is scriptable just creat a new script and type in the following command:

tell application "Terminal"

do script "type here the script that starts mysql"

end tell

and thats IT!!!!! and just place this file in your startupitems (in system level library folder there is a folder called StartupItems)

Hope this helps
     
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Nov 11, 2002, 06:14 AM
 
Hey, Thanx Dot...

I think he [ the guy with this apache problem ] did also some script modifications, not only changing the apache 2 to apache. So it works..

Thanx
::1 ::2 ::3 ::
     
Junior Member
Join Date: Oct 2002
Status: Offline
Nov 11, 2002, 08:08 AM
 
Originally posted by Mulattabianca:
Hey, Thanx Dot...

I think he [ the guy with this apache problem ] did also some script modifications, not only changing the apache 2 to apache. So it works..

Thanx
Glad I helped

Fire away if you have anymore questions!
     
 
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 03:52 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2