473,602 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't install / uninstall MySQL

pc
hi everyone,

we have a server on which someone blew away the MySQL 4 progs directory
before installing MySQL 5. When installing MySQL 5 the installation
failed with an error stating that it was unable to create system tables
as the MySQL 4 directory did not exist.

We are now unable to uninstall MySQL 5:

[root@server1 local]# rpm -i
MySQL-server-standard-5.0.18-0.rhel3.i386.rp m
warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rp m: V3 DSA
signature: NOKEY, key ID 5072e1f5
package MySQL-server-standard-5.0.18-0.rhel3 is already
installed

[root@server1 local]# rpm -e
MySQL-server-standard-5.0.18-0.rhel3.i386.rp m
error: package MySQL-server-standard-5.0.18-0.rhel3.i386.rp m is not
installed

Help!

TIA

eddiec :-)

Jan 12 '06 #1
2 6108
pc
problem solved, just recreated the missing directories

eddiec :-)

Jan 12 '06 #2
pc
hi everyone,

I managed to uninstall MySQL 5 (just removed the rpm from the end of
rpm -e). but I can't remove MySQL 4 (rpm says it's not installed, maybe
this was a manual installation). When I try to install MySQL 5 this is
what we get:

[root@server1 local]# rpm -i
MySQL-server-standard-5.0.18-0.rhel3.i386.rp m
warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rp m: V3 DSA
signature: NOKEY, key ID 5072e1f5
mkdir: cannot create directory
`/usr/local/mysql-standard-4.0.22-pc-linux-i686/d ata': No
such file or directory
chmod: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data': No
such file or directory
mkdir: cannot create directory
`/usr/local/mysql-standard-4.0.22-pc-linux-i686/d ata/mysql':
No such file or directory
chmod: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data/mysql':
No such file or directory
mkdir: cannot create directory
`/usr/local/mysql-standard-4.0.22-pc-linux-i686/d ata/test':
No such file or directory
chmod: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data/test':
No such file or directory
chown: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data': No
such file or directory
chown: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data/mysql':
No such file or directory
chown: failed to get attributes of
`/usr/local/mysql-standard-4.0.22-pc-linux-i6 86/data/test':
No such file or directory
060112 11:39:37 [Warning] Can't create test file
/usr/local/mysql-standard-4.0.2
2-pc-linux-i686/data/server1.lower-test
/usr/sbin/mysqld: Can't change dir to
'/usr/local/mysql-standard-4.0.22-pc-linux -i686/data/'
(Errcode: 2)
060112 11:39:37 [ERROR] Aborting

060112 11:39:37 [Note] /usr/sbin/mysqld: Shutdown complete

/usr/bin/mysql_create_sy stem_tables: line 766: 8170 Broken pipe
cat <<END_OF_DATA
use mysql;
set table_type=myis am;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c

$c_ht
$c_hc
$c_hr
$c_hk

$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls

$c_p
$c_pp

END_OF_DATA

Installation of system tables failed!

Examine the logs in /usr/local/mysql-standard-4.0.22-pc-linux-i686/data
for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql-standard-4.0.22-pc-linux-i686/data
that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running
mysql_install_d b',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
Starting MySQL.......... ............... .......... ERROR!

It can't open the MySQL 4 directory as this has been deleted.

eddiec :-)

Jan 12 '06 #3

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

Similar topics

0
2883
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
0
399
by: CK Wong | last post by:
When I try to repair, change config, install and uninstall an existing VB.NET 2K3, it gave me the following error in the file vserror71.txt: Visual Basic .NET Standard 2003 - English: ERROR_FILE_NOT_FOUND returned in CRootComponent::Install; could not find file: E:\WINDOWS\Installer\ad839.msi (My Windows is install on the E drive). Where is this ad839.msi and who created it?
7
319
by: tony | last post by:
Hi Any one know that can VS.net 2005 with vs.net 2003 worked together in one manchine? if it can working together, how can I set up it? Thanks Tony
3
6996
by: Nick | last post by:
hi, all I have a red hat 9 and looks like it had mysql 3.2.54 installed before, but, actually not, i can not find the install folder and I can not uninstall it. So I am trying to install/upgrade to 4.1, but, still can not get it work. Here is what I did: # rpm -Uvh MySQL-server-standard-4.1.14-0.rhel4.i386.rpm warning: MySQL-server-standard-4.1.14-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
0
1384
by: DaveHenrie | last post by:
I had VB Studio.net installed on this machine in the past. However, my version be corrupted somehow. Therefore, I uninstalled .net using the Windows Install/uninstall utility. I only was able to make it partially through the uninstall when the program wanted to start debugging. This didn't make any sence to me. So, I restarted the uninstall. The same thing happend. So, I tried to reinstall the program hoping that it would work. It...
0
1119
by: John Richardson | last post by:
When it rains, it pours. I have an installer I built within VS, and when you click install within the IDE, it unistalls the previous version for you, very conventient, but it means that alot happens that I don't know or understand. Today I got an error when it tried to un/install my package, saying it was missing my install DLL. Now, TBH, I really fumbled my way through the whole installation building process. It seems that deploying...
3
13775
by: Chris Wagner | last post by:
Anyone knows how to install/unistall service with VB.NET without using InstallUtil program? Thanks
2
1581
by: John Keers | last post by:
Hi Can anyone tell me how you run multiple msi's or install programs from a single msi. I'm using VS2005? Thanks
0
2086
by: Larry Rebich | last post by:
Recently I have encountered a number of problems using VS2005 Standard Edition. For some unknown reason I am not able to load any project anymore. I've been using the product for some months. These are some of the steps I've tried: 1. Uninstall Web Application Projects add-in. Fails with message: "Could not load file or assembly 'sorttbls.nlp' or one of its dependencies." And the install 'backs out".
0
7993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
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
8404
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...
0
6730
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
5867
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
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2418
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
0
1254
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.