LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-03-2004, 12:21 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Lightbulb How to install mysql on Xandros 2.0 for Newbie


I have finally figured out how to install mysql on Xandros. (Partially thanks to people smarter than me at linuxquestions.org) and the rest thanks to the help on the www.mysql.org page.

To install the software itself, open the Xandros networks application and navigate to

New applications --> Database management

Check both mysql database and mysql navigator.
Either click install selected apps or click the hyperlinks at the bottom of the page that do that same.


Once the software package is installed (the easy part), get around a bug in the initial database setup by doind the following:

locate and run the setup script by doing the following

find / -name mysql_install_db (this will tell you where the script is located)


then run the script. for example on my system

/usr/bin/mysql_install_db

if the script is not executable then make it so using chmod. It should be executable by default.


Next stop the daemons. I did it like this.

ps -A | grep mysql (to locate the process ids)

kill <each process id number here, i had five>
kill < process id number >
kill < process id number >
kill < process id number >
kill < process id number >


Restart the mysql daemon in what I guess to be safe mode

mysqld_safe --skip-grant-tables &


Put a password in for the root user by

mysqladmin -u root flush-privileges password "your password here"


You should be able to log into the mysql command line using

mysql -u root -p (this will ask for password)


Good luck.
 
Old 07-03-2004, 03:15 PM   #2
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
I would like to add that the bug that prevents the initial login to the mysql database (the default database) is particular to Xandros and not a problem on MySQL as a whole. I did not mean to imply a general bug in MySQL.

Also, the 'MYSQL Navigator' is a graphical user interface that downloads as well if the full Xandros package for MySQL is installed but it does not generate good sqls unless you log into the database as the owner of that database.
 
  


Reply



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
Xandros Desktop OS - a newbie question Black Raptor Linux - Newbie 9 07-06-2005 02:21 PM
More newbie Questions on Xandros Anthony1uk Linux - Newbie 1 06-28-2005 10:12 AM
Newbie with MySQL Install problem pendulum Linux - Newbie 3 04-12-2005 11:59 PM
Linux newbie needs help with install of MySQL on Redhat9 bkimelman Linux - Software 1 11-03-2003 11:28 AM
Newbie MySQL install help andweave Linux - Software 3 06-27-2002 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 AM.

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