LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   mysql set up and start on suse 8.2 (https://www.linuxquestions.org/questions/linux-distributions-5/mysql-set-up-and-start-on-suse-8-2-a-136567/)

luap 01-19-2004 09:08 PM

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.

ugob 01-20-2004 05:04 AM

look the mysql.err file (usually in /var/lib/mysql/) or look /var/log/messages for errors.

luap 01-20-2004 07:15 PM

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

luap 01-20-2004 08:01 PM

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.


All times are GMT -5. The time now is 05:04 AM.