LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-14-2004, 03:54 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Question How do I manage my mysql database in Mandrake 10?


I've got a mysql database I want to add to the mysql service. How do I manage mysql (something with a gui preferrably)

I'm Using Mandrake 10
Old 07-14-2004, 05:05 AM   #2
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Could you clarify that a bit. Sounds like you want to 'add' to the MySQL service. Do you mean create a new table or database?

First you need to find where the mysql binary file is:
as root:
updatedb ; locate mysql | more

Then you run that binary, and you should get something like
and thats where you type your commands
Not sure about a GUI for it. Probably one exists, but why don't you learn MySQL the normal way? It's easy enough.
Old 07-15-2004, 01:16 AM   #3
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Like BluePyre, I'm not quite sure I inderstand your question. But if you have an existing backup of a MySQL database (a file named something.sql), Then you can create and add that database with the following commands:

mysqladmin -p create newDBname
mysql -p newDBname < something.sql

You will be prompted for your password after each command (that's what the -p flag does). You can check that this worked by listing the tables from your database with this command:

mysqlshow -p newDBname

While I haven't used any GUI for MySQL, phpMyAdmin is quite highly recommended in the press and on this forum.

--- Cerbere

[edit] How rude of me! I forgot to welcome you to . . . So, Welcome! [/edit]

Last edited by Cerbere; 07-15-2004 at 01:17 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 10:20 PM
mandrake package-manage santiagosilva Mandriva 1 02-12-2004 09:07 AM
which language is the best to manage database? poeta_boy General 1 12-09-2003 11:00 PM
Manage data and maintenance of MySQL database online rhuser Linux - Software 2 02-17-2003 09:31 PM

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration