how can i start mysqld?
how can i start mysqld? where is the path to start a services. in redhat, /etc/rc.d/init.d/ will be all the services started when the machine is booting.. then, where is the dir for services booting? how can i know which services that i had started?
thanks. |
Most of the service scripts on Slackware are in /etc/rc.d, including the one for mysql, which is at /etc/rc.d/rc.mysqld. You'll need to make it executable, if it isn't already with a "chmod 755 /etc/rc.d/rc.mysqld" & then you start it with "/etc/rc.d/rc.mysqld start". The bootup scripts should pick it up and start it at bootup from then on. If that's not what you want, then you'll need to edit the bootup script that starts it.
|
Quote:
Do these steps if you installed mysql during the initial installation: 1. mysql_install_db <To install your default Database> 2. chown -R mysql.mysql /var/lib/mysql <Changes ownership and permissions> 3. safe_mysqld & <Starts mysqld> 4. cp /usr/share/mysql/share/mysql/msql.server /etc/rc.d/rc.mysqld <Copies the default startup script to be used to your rc.d directory> 5. chmod +x /etc/rc.d/rc.mysqld <Makes the script executable> 6. Then add something like this to the rc.M script to read your mysql script you copied over so mysql will startup at boot time so you don't have to manually start it each time: Code:
if [ -x /etc/rc.d/rc.mysqld ]; then |
It is with Slackware 9.1. rc.M already contains the startup check as well.
|
Quote:
|
Well actually, it says:
Quote:
|
i have going through the messages, but, i havent had time to configure it.. thanks anyway... i am using slackware 9.1, just migrated from redhat. there are many things that i am not familiar with... so, pls, dun feel hestited to drop advises for me. tonight, i will be configuring it...i will let u know the result... thanks for concern anyway....
|
All times are GMT -5. The time now is 02:02 PM. |