473,786 Members | 2,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mySQL won't start..errors out after installing (Slackware)

I just installed Slackware 10.1 Still need to install some missing
needed libraries, but I think that's unrelated.

Every time it boots up, or I try "/etc/rc.d/rc.mysqld start" I get
this:

Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
mysqld ended

In /var/lib/mysql I have:
ib_arch_log_000 00000
ib_logfile0
ib_logfile1
ibdata1
localhost.err

In /var/lib/mysql/localhost.err I have the following:
---
mysqld started
InnoDB: started
Fatal error: can't open privilige tables: Table 'mysql.host' do$
aborting

InnoDB: Starting shutdown...
InnoDB: Shutdown completed

/usr/libexec/mysqld: shutdown complete

mysqld ended
---

Any suggestions what in the world I should do? What I should try or
look at for more info?

Thanks for any help!
Liam

Jul 23 '05 #1
5 12673
On Sat, 23 Apr 2005 14:16:47 -0700, new wrote:
I just installed Slackware 10.1 Still need to install some missing
needed libraries, but I think that's unrelated.

Every time it boots up, or I try "/etc/rc.d/rc.mysqld start" I get
this:

Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
mysqld ended


You failed to execute /usr/bin/mysql_install_d b first.
Jul 23 '05 #2
Dave Uhring wrote:
On Sat, 23 Apr 2005 14:16:47 -0700, new wrote:
I just installed Slackware 10.1 Still need to install some missing
needed libraries, but I think that's unrelated.

Every time it boots up, or I try "/etc/rc.d/rc.mysqld start" I get
this:

Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
mysqld ended


You failed to execute /usr/bin/mysql_install_d b first.


Oh, didn't know I had to do that. All my other distros installs have
been RedHat/Fedora and they pretty much do everything for you.

So I did that, and I got a screen of info, but it's an 80x30 laptop
screen so it all scrolls past and I can't see all the results...but it
tells me to set a root password AFTER starting the service, tells me an
upgrade notice.
And when I look at /var/lib/mysql I now have mysql/ and test/ dirs with
files in them.
So, it looks like that worked.

However, if I try starting the service I get the same errors.
/etc/rc.d/rc.mysqld start
or
/usr/bin/mysqld_safe &

either way, same "...STOPPIN G from pid file..." error.

Thanks for the reply! That does get me one step closer!
Liam

Jul 23 '05 #3
On Sat, 23 Apr 2005 15:14:01 -0700, new wrote:
Dave Uhring wrote:
You failed to execute /usr/bin/mysql_install_d b first.

However, if I try starting the service I get the same errors.
/etc/rc.d/rc.mysqld start
or
/usr/bin/mysqld_safe &

either way, same "...STOPPIN G from pid file..." error.


[rc.d]# cd /var/lib
[lib]# chown -R mysql:mysql mysql
Jul 23 '05 #4

Dave Uhring wrote:
On Sat, 23 Apr 2005 15:14:01 -0700, new wrote:
Dave Uhring wrote:

You failed to execute /usr/bin/mysql_install_d b first.

However, if I try starting the service I get the same errors.
/etc/rc.d/rc.mysqld start
or
/usr/bin/mysqld_safe &

either way, same "...STOPPIN G from pid file..." error.


[rc.d]# cd /var/lib
[lib]# chown -R mysql:mysql mysql


Well, that did. Fixed it right up.

Should I have know that I'd have to do that? Did I miss something
somewhere? I never would have thought to check ownership of the
contents of that DIR.

I appreciate the help!!
Liam

Jul 23 '05 #5
On Sat, 23 Apr 2005 15:50:40 -0700, new wrote:
Should I have know that I'd have to do that? Did I miss something
somewhere? I never would have thought to check ownership of the
contents of that DIR.


You might want to read the files in /usr/doc/mysql-4.0.23a

Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2959
by: Lonn Hunter | last post by:
I've tried this with both the RPM's and the source code and I have the same problem. I'm running Slackware Linux v8.1, and on the last attempt I built mysql from the source code by doing the following: (after unzipping the tarball) ../configure --prefix=/usr/local/mysql make make install scripts/mysql_install_db
0
1567
by: tevans | last post by:
I'm using Slackware GNU/Linux 9.0 on an Intel PII 266 machine that's SMP capable, but only with one CPU installed, and 64MB of RAM. It's basically a small test system that I play around with in some free time before installing things on my larger systems. I am trying to do a fresh install of MySQL 4.0.14 (I removed the previous 3.23.56 installation, including directory structure and leftover components). I'm compiling with these options...
4
3037
by: blizeach | last post by:
The problem is that when I installed Slackware I told it to install MySQL. I thought it did so. I looked around and found in the directory /etc/rc.d/ a file called rc.mysqld.new wich I read. It said to make this file executable so that it would start the daemon at system boot. I made it executable. Needless to say it didn't work. So I read a little further. The same files says to build the grant tables by switching to the mysql user with...
1
2390
by: Maxim. V. | last post by:
Hello to everone, As mentioned in this *guide(1), i've compiled mysql on my fedora Core 2 system, with the following spec's : *(1) http://hulan.info/blog/index.php?itemid=576 --------------- bash START -------------- $ uname -a Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
13
6369
by: cab0san | last post by:
I downloaded the DB2 runtime client, but the Client Base support and the TCP protocol do not install. I re-run the setup select them to run from disk, and they still show as not installed. What am I missing? Running Windows XP SP1
15
4644
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
2
1888
by: Sean O'Donnell | last post by:
Hi, I can't seem to get MySQLdb/1.2.1p2 to install on Slackware/10.2, with Python/2.4.1, and MySQL/5.0.18. The following command: $ python setup.py build 2setup.err returns the following errors:
14
4477
by: luvtopost | last post by:
I am trying to learn PHP and was reading the book by Laura Welling and Luke Thompson. Obviously, PHP is already installed on a server when hosted by an ISP already. Is there a way to just download PHP 5 onto my laptop as well as MYSQL and practice learning it with coding and scripts, etc.? I don't have another machine to install Apache or IIS. Thanks.
6
38523
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get through this without much trouble. Programming knowledge is not required. Index What is SQL? Why MySQL? Installing MySQL. Using the MySQL command line interface
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.