![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL article - Sun and MySQL: How It Stacks Up for Developers | iBot | UNIX and Linux RSS News | 0 | 02-28-2008 11:20 PM |
| Stoping & starting the cron daemon | othman | SCO | 0 | 04-30-2007 11:23 AM |
| Problems starting apache 1.3 with mysql | godspunk32 | SUN Solaris | 1 | 08-25-2006 10:56 AM |
| mysql would not start: missing mysql.sock | xnightcrawl | UNIX for Advanced & Expert Users | 2 | 05-26-2006 11:06 AM |
| mysql not starting with fedora linux | arunkumar_mca | Linux | 1 | 09-22-2005 09:26 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Starting MySQL daemon
I'm running a FreedBSD server with mysql 4.1. When I start mysqld via the command:
# /usr/local/bin/safe_mysqld --user=mysql it starts the mysql db (I know because the websites are running off of it) but does not return to a prompt, it will let me type but will not respond unless I restart the system. Any ideas on how to resovle this. Thanks, Last edited by unispace; 12-13-2006 at 01:32 PM.. |
|
||||
|
I take it you're doing maintenance. Either that or BSD doesn't have an init system? How about: Code:
/usr/local/bin/safe_mysqld --user=mysql < /dev/null > /dev/null 2> /dev/null & This will put it in background, detach it from your console, and prevent it from printing garbage on your screen. |
|
||||
|
I had already added mysql_enable="YES" in /etc/rc.conf but when a enter /usr/local/etc/rc.d/mysql-server.sh start it says "command not found"
By the way there is no file mysql-server.sh but there is mysql-server and substituting that for mysql-server.sh does not work either ("command not found") Any ideas? All the help is greatly appreciated. |
|
||||
|
just check the directory listing inside of /usr/local/etc/rc.d and execute the startup script relating to mysql, unless of course you did not install it from ports, if you compiled it by downloading the sources, i don't think the rc script is included.
|
![]() |
| Bookmarks |
| Tags |
| sendmail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|