LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-25-2004, 05:07 PM   #1
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
slack, webmin, & mySQL


first off, I got webmin installed and i have to say, its awesome, now i have a problem tho.

I went to servers > mysql and it says;
--------------------------------
MySQL is not running on your system - database list could not be retrieved.

Click this button to start the MySQL database server on your system with the command "cd /usr ; /usr/bin/safe_mysqld &". This Webmin module cannot administer the database until it is started.
---------------------------------

well i clicked it and it doesnt start, then I tried the command and it doesnt work, but I know for a fact that i have mysql installed, I installed the version that came with slackware.
so is there another way to start it? and can it be done with webmin? or do I need a diferent version of mySQL?
 
Old 01-25-2004, 05:33 PM   #2
Lohan
LQ Newbie
 
Registered: Jan 2004
Location: Brooklyn
Distribution: Slackware 9.1, Kernel 2.6.0
Posts: 11

Rep: Reputation: 0
Have you done:

su mysql
mysql_install_db

?

Also, make sure /etc/rc.d/rc.mysqld exists and that it is executable.
 
Old 01-26-2004, 10:58 AM   #3
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Original Poster
Rep: Reputation: 30
thanks, works like a charm.

PS. webmin is awesome
(I think I already said that)
 
Old 01-26-2004, 11:19 AM   #4
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
I think someone just discovered a hole in wedmin, at least thats what I heard. I haven't not seen the facts myself.

Netizen
 
Old 04-28-2015, 05:16 AM   #5
shaunswales
LQ Newbie
 
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
Post Similar issue where SQL won't start...

I'm having an issue similar to the one mentioned in this thread.

MYSQL will not start, please can you explain what the two commands above actually do as I don't want the databases I have to be lost or overwritten as the data is needed...

What do the two statements actually do?

My issue: https://unix.stackexchange.com/quest...it-back-online

Kind Regards,
Shaun
 
Old 04-28-2015, 09:45 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
run mysql_install_db --user=mysql
It will install initiall database
Don't forget to start mysql after that
 
  


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
Webmin - Multi IPs / MySQL Snipersnest Linux - Software 1 09-25-2005 08:42 AM
webmin+mysql a quick question pudhiyavan Linux - Software 0 01-13-2005 08:07 PM
Any slack packages of WebMin & phpmyadmin Lostboys Slackware 13 08-03-2004 09:43 PM
/bin/sh needed by MySQL + Webmin??? Keyser Sose Linux - Software 2 06-29-2004 05:40 PM
Webmin and MySQL dsiguy Linux - General 0 02-07-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:54 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