MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 26th, 2000, 10:17 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
I'm attempting to install MySQL on my Red Hat Linux box (now running KDE). Whilst I had it working before under GNOME, I reformatted because it had ceased to work when I corrected a hostname mistake I had made on install.

However, it now won't install at all! I am following the "Setting up database driven websites" article from Devshed to try and get it installed. I get as far as the part when you run the /usr/local/mysql/scripts/mysql_install_db script, and when I try and do that, everything goes pear-shaped. I get this:

[mysql@localhost mysql]$ scripts/mysql_install_db
Creating db table
Creating host table
Creating user table
Creating func table
Creating table_priv table
Creating column_priv table
ERROR: 1062 Duplicate entry `localhost-root` for key 1
ERROR: 1062 Duplicate entry `localhost-` for key 1

To start mysql at boot time ....

My guess is that when the script tries to create the column_priv table, two entries try and use the same value for a primary key. But what would these be, and how can I remedy the problem???

--------------------------------------------
Alex
(http://www.alex-greg.co.uk)

Reply With Quote
  #2  
Old August 26th, 2000, 11:07 AM
bonsai1335 bonsai1335 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: lexington, ky, USA
Posts: 5 bonsai1335 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
so your having problems installing it? or setting up the databases?

------------------
-Casey

Reply With Quote
  #3  
Old August 26th, 2000, 11:31 AM
bonsai1335 bonsai1335 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: lexington, ky, USA
Posts: 5 bonsai1335 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
if its an install problem, then

1. login as root, or use "su"
2. ftp to ftp.mysql.com username=anonymous password=(your email address)
3. change directory to MySQL-3.22 (note, it is case sensitive)
4. get MySQL-client-3.22.32-1.rpm (note, it is case sensitive)
5.exit from ftp with "bye"
6. go to http://www.mysql.com/documentation/...ction=Linux-RPM
7.follow the instructions step by step.
8. DO NOT RESTART mysqld until you are sure it will restart, this happened to me, and i had to spend quite a while getting it back up.


------------------
-Casey

Reply With Quote
  #4  
Old August 26th, 2000, 01:37 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
"get MySQL-client-3.22.32-1.rpm"

Doesn't exist: instead there are:

MySQL-client-3.22.32-1.alpha.rpm
MySQL-client-3.22.32-1.i386.rpm
MySQL-client-3.22.32-1.mips.rpm
MySQL-client-3.22.32-1.ppc.rpm

Which one? I'm running Red Hat on an i486

--------------------------------------------
Alex
(http://www.alex-greg.co.uk)

Reply With Quote
  #5  
Old August 26th, 2000, 04:00 PM
csweetland csweetland is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Seattle, WA USA
Posts: 23 csweetland User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You will want to use i386 versions for your Intel 486 chip.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Install problems on Red Hat Linux


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway