LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-19-2004, 09:08 PM   #1
luap
Member
 
Registered: Feb 2003
Location: atlanta ga usa
Distribution: suse 8.2
Posts: 78

Rep: Reputation: 15
mysql set up and start on suse 8.2


hello-
i've netsearched, checked suse docs and support docs, but i cant find any guide or how to
on just getting mysql started up and set up on suse 8.2.
could someone please provide either links to start up specific to mysql/suse 8.2, or, if any one
has suse 8.2 and mysql working, provide the steps necessary to get mysql running?
i installed the mysql packages from the suse 8.2 cds, and ran whereis
whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
so it looks like mysql is installed.
thanks in advance for any assistance.

edit- here's some copy from my attempt to run safe_mysqld:

paul@livingroom:/usr/bin> su
Password:
livingroom:/usr/bin # safe_mysqld
Starting mysqld daemon with databases from /var/lib/mysql
040119 22:13:10 mysqld ended

livingroom:/usr/bin # safe_mysqld &
[1] 6279
livingroom:/usr/bin # Starting mysqld daemon with databases from /var/lib/mysql
040119 22:13:54 mysqld ended


[1]+ Done safe_mysqld
livingroom:/usr/bin # cd /
livingroom:/ # ps ax | grep mysqld
livingroom:/ #

looks like mysqld is not running.

Last edited by luap; 01-19-2004 at 09:22 PM.
 
Old 01-20-2004, 05:04 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
look the mysql.err file (usually in /var/lib/mysql/) or look /var/log/messages for errors.
 
Old 01-20-2004, 07:15 PM   #3
luap
Member
 
Registered: Feb 2003
Location: atlanta ga usa
Distribution: suse 8.2
Posts: 78

Original Poster
Rep: Reputation: 15
hi,
here's log entry from /var/lib/mysqld mysqld.log

040120 20:06:16 mysqld started
040120 20:06:16 /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
040120 20:06:16 mysqld ended

this is after trying to start mysqld
 
Old 01-20-2004, 08:01 PM   #4
luap
Member
 
Registered: Feb 2003
Location: atlanta ga usa
Distribution: suse 8.2
Posts: 78

Original Poster
Rep: Reputation: 15
what i like best about trying to work with linux- i'm learning to like wearing egg on my face.
there is some suse documentation for their implementation of mysql- i found a "suse readme"
in /usr/share/docs/packages/mysql. while its helpful, it doesnt go over the chown steps needed for mysql in suse.
i also found the log helpful, tying its verbage to a hint found in a redhat book ,chapter on
mysql. i've stumbled through and have mysql running.
but i think it was an accident. maybe i should try it again..... nah, i want to start using mysql.
 
  


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
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
MySql error 2002, Cannot start mysql djchris Linux - Software 5 04-13-2004 06:12 PM
Mysql will not start via Suse 8.1 steverino Linux - Newbie 1 10-19-2003 09:30 AM
Mysql server will not start using OS Suse 8.1 steverino Linux - Software 3 03-06-2003 03:00 AM
How to start properly MySQL in SuSE 8.1? wvelasquez Linux - Software 1 01-07-2003 05:34 PM

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

All times are GMT -5. The time now is 07:42 PM.

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