SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two fresh Slack 10 CDs. (Burnt), installed it... All went well, except some non-important packages in the GNOME directory. But I don't care about that, since I use KDE. Anyway, exactly how to you upgrade to the 2.6.7 kernel? And MySQL doesn't work. And just so you know, it all booted fine.
To upgrade to kernel 2.6.7 there are some threads round here (take a look at stickys too). MySQL needs to be configured before you can use it, take a look at the files my-huge.cnf, my-small.cnf,etc on your /etc directory.
Hope that helps.
I don't have to. I ran that command before. And that directory is owned by the mysql user, AND it starts up fine at boot, but it ends when it asks for a login... I just gotta find out what error 040629 is.
Couple things to check. Make sure that the files in /var/lib/mysql are readable by the user mysql. I think you already did that, but I just wanted to make sure because you said that the files are owned by the mysql user but didn't mention if they were also owned by the mysql group.
The next thing is that you may be able to see what is going on by checking out the .err files in the /var/lib/mysql directory. Maybe something in there will give you a hint as to what is going on.
Yes, group and owner are mysql... What will the .err files tell me?
Edit: OMG! Look at the err files:
040629 09:13:21 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
040629 9:13:22 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
040629 9:13:22 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
040629 9:13:22 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
040629 9:13:23 InnoDB: Started
040629 9:13:24 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
040629 9:13:24 Aborting
the .err files are your error logs from mysql. They may give you a better idea about what is going on.
As a side note, 040629 is not an error number; it's the date. 06/29/2004.
Apache and PHP don't need MySQL to work. I'm thinking that keefaz is right. As root, run the commands I gave earlier again. Then restart mysql and see what the new messages are in the .err file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.