[quote author=blackjackguy link=board=1;threadid=10047;start=0#msg91043 date=1102475485]
Hello, newbie here.
From the command line, what is the *easiest* way to tell if MySQL database is installed on my linux box?
If it is, how do I start it? Something like: service mysql start ?
Thanks!
[/quote]
Hey - It depends on the distro. On certain distros, you'd do /etc/rc.d/mysqld start (for Slackware)
/etc/init.d/mysql start (for Gentoo)
Another way to test is to try to connect to it:
So if I set up my root user, password, after doing mysql_install_db, then that's how I would connect to the mysql shell.Code:bash-2.05b~ mysql -u root -p Password: mysql>
I'd suggest using a manual of some sort to get this figured out. It'd be more helpful if you could please tell us what distribution you are using.
HTH
Sincerely,
Shebang


Reply With Quote
I'm trying to get away from the Microsoft platform, and it's hardest when you're just starting out.
Bookmarks