• Post Reply Bookmark Topic Watch Topic
  • New Topic

Linux and mysql  RSS feed

 
Himal Chuli
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Bell
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Tim Holloway
Saloon Keeper
Posts: 18795
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!