News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Install mySQL

Started by dcubox1, April 14, 2010, 03:03:53 PM

Previous topic - Next topic

dcubox1

What is the easiest way to install mySQl to allow me look at the database tables?

jimbodude

DO NOT DIRECTLY EDIT THE DATABASES UNLESS YOU KNOW WHAT YOU ARE DOING!

Look all you want, just don't touch.

...I'm assuming you've already installed LinuxMCE?  If that's the case, you already have one option.

To log in, execute:

mysql -u root


To see the databases:

show databases;


To use a database:

use {database name here}


Then you can do SQL from there.


The other option is MySQL Query browser - a graphical interface.  To get it:

sudo apt-get install mysql-query-browser


Run it from the KDE desktop or with terminal command"

mysql-query-browser


In both cases, you will probably need to collect some knowledge about how SQL databases work.

dcubox1

Quote from: jimbodude on April 14, 2010, 04:20:52 PM
The other option is MySQL Query browser - a graphical interface.  To get it:

sudo apt-get install mysql-query-browser


Run it from the KDE desktop or with terminal command"

mysql-query-browser


In both cases, you will probably need to collect some knowledge about how SQL databases work.

Thanks for this, I work with SQL databases every day, I know the implications of messing around with them. Cheers for the info.