This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 25455
178
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.
 
Could you hold this kitten for a sec? I need to adjust this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic