LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   mysql howto? (https://www.linuxquestions.org/questions/fedora-35/mysql-howto-451841/)

sharathg786 06-05-2006 01:26 PM

mysql howto?
 
Hi, i'm using fedora 3

I'm new in this sql thing, whenever i type a command, it says 'No database selected', what should i do to get mysql running. (I've started the mysqld frm service configuration).

:newbie:

david_ross 06-05-2006 01:34 PM

You'll need to select a database using "use mydb" assuming the database is called mydb. If you need to create one use:
CREATE DATABASE mydb;
USE mydb;

b0uncer 06-05-2006 01:35 PM

Go to the great big website of mysql.org and read the d.o.c.u.m.e.n.t.a.t.i.o.n. It helps most of the time, reading "Readme"s and stuff..you know.

sharathg786 06-05-2006 02:03 PM

Thank you b0uncer & david_ross, it worked.


All times are GMT -5. The time now is 01:23 AM.