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 > Software - Troubleshooting and Discussion > Developer Center > MySQL troubles

MySQL troubles
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2001
Location: Ft. Walton Bch FL
Status: Offline
Reply With Quote
Mar 17, 2002, 01:25 PM
 
I have installed Marc Liyanage's MySQL package and I had it running for a while. It seems like I don't understand some of the concepts of administering the database. I have problems trying to shut down the terminal after making a table. It says that sh and mysqld are still running and thats true looking at top. If I try mysqladmin shutdown I can't because it says I don't have permission. I imagine this is because he has it running under user mysql in his directions. Why does he do that? I'm not that worried about security this is just a development (play) machine and not running openly on the web. I think I need a step by step tutorial working through installation and doing simple administration things. After installing his mysql package alot of the instructions I see on the net, even at the mysql site, don't work because of the convaluted installation. Is it normal to have it running under a diffent user like this? Any help would be appreciated.
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Mar 18, 2002, 01:05 PM
 
It is normal to have mysql running as user 'mysql'. What you are running into is that you have not given yourself any permissions in the database itself. Read up on the security model and things should be much clearer.

Another note: due to a bug/lack of implementation of part of pthreads, MySQL cannot be shut down normally in MacOS X. as you don't normally shut down databases, this is not really a big issue. You can always 'sudo kill' the processes...
     
   
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 06:01 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