• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

Linux and mysql

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Saloon Keeper
Posts: 27478
195
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
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
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic