Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MySQL-3.23.58-1.i386 with linux redhat 9

Posted on 2004-03-25
12
Medium Priority
?
363 Views
Last Modified: 2012-05-04
Hello,  
    I am facing a problem:
    I installed mysql in RH 9 but don't Know how to start it
    I tried a lot but no solution
    Please can someone helps me
Best Regard
Zirich_2002
0
Comment
Question by:zirich_2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
12 Comments
 
LVL 2

Expert Comment

by:Neogenix
ID: 10685023
Hi zirich_2002,

Here is what you need to do. To start the service immediately run the following command as root.
( "#" denotes root run command as root user)
( "$" denotes command can be run as any user.

# service mysqld start

To get mysql to start at boot time for runlevels 2-5 run:

# chkconfig --level 2345 mysqld on

or just

# chkconfig mysqld on

Regards,

M
0
 

Author Comment

by:zirich_2002
ID: 10685130
Hello, everyone  
     sorry I installed mysql-3.23.54a-11 not the version I just mentioned above,
     I tried:
     # service mysqld start
     but I received :
     mysqld : unrecognized service
     What is the problem ?????
     Best Regard
Zirich_2002
0
 
LVL 2

Expert Comment

by:Neogenix
ID: 10685212
Hi zirich_2002,

Did you install it from a tarball or an rpm?

If you installed the rpms make sure you installed the package mysql-server too.

Where is the binaries installed is it under /usr/local or /usr

Regards,

M
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:zirich_2002
ID: 10687255
Hello Everyone
        I reinstall my sql and the 1st problem is resolved.
        Now the second problem I face is that when I try to add a table or anything to the db
        I am asked to enter a password ,I enter the root password but this message appear:
        Access denied for user: 'root@localhost' (Using password: YES)
Best Regard
0
 

Author Comment

by:zirich_2002
ID: 10687266
Hello Everyone
        I reinstall my sql and the 1st problem is resolved.
        Now the second problem I face is that when I try to add a table or anything to the db
        I am asked to enter a password ,I enter the root password but this message appear:
        Access denied for user: 'root@localhost' (Using password: YES)
Best Regard
0
 
LVL 2

Expert Comment

by:Neogenix
ID: 10687705
The default installation for mysql is no password for the root user if the login is comming from the localhost. Otherwise you will need to do a grant if the connection is coming from anywhere else.

Eg.

GRANT ALL ON * TO 'USERNAME'@'IPADDR' IDENTIFIED BY 'PASSWORD'

See http://www.mysql.com/doc/en/GRANT.html for the syntax.
0
 

Author Comment

by:zirich_2002
ID: 10693873
Hello Everyone
      I want to uninstall Mysql server 3.0.54a and install the new version
      which is MySQL-server-4.0.18-0.i386 cause it is required by the
                WebSER that I have to install and I have an rpm pakage.
      I tried :
      >rpm -e Mysql-server-3.0.54a...etc
      No message is dislayed.
      then I tried to install the new one
      > rpm -e MySQL-server-4.0.18-0.i386.rpm
      an error is displayed
      Libmysql.so is needed (installed) in etc...
      So please can someone helps me to force the installation of
      mysql 4.0.18-0.i386
Best Regard
ZiRich_2002
0
 

Author Comment

by:zirich_2002
ID: 11028793
Hello Everyone
     sory for the latency, I found the solution:
     > rpm -e --nodeps MySQL-server-4.0.18-0.i386.rpm
     and MySQL-server-4.0.18-0.i386.rpm will be installed.
Best Regard
ZiRich_2002
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11187055
PAQed, with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
What we learned in Webroot's webinar on multi-vector protection.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question