hi folks, i am sure a lot of you should have a lot experiences in configuring and running mysql in Linux. i am having so much of difficulty here. i just installed mysql in linux and now rebooted the machine. now it's so hard to figure out how to start the mysql server. could you please guide me an easy way out with it. thanks.
log in as root and enter the following at the command prompt: /etc/init.d/mysql start That should get the mysql server started if it's all installed properly. If that throws up an error, let us know.
PS: If you're installing MySQL on linux, always try to use the RPM (vs. the tar.gz) because the RPM will setup those init.d scripts for you, which makes things a lot easier! Cheers, Peter http://rimuhosting.com - JBoss EJB/JSP hosting specialists [ April 23, 2003: Message edited by: Peter B ]
An alternative to executing the init.d mysql script itself under Red Hat is via the "service" program: /sbin/service mysqld start You can also configure for automated startup/shutdown: /sbin/chkconfig --level 345 mysqld on There are GUI ways to do this as well, but they're actually more trouble than simply issuing the command.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
What are you doing? You are supposed to be reading this tiny ad!
a bit of art, as a gift, that will fit in a stocking