Solved

MySQL-3.23.58-1.i386 with linux redhat 9

Posted on 2004-03-25
12
335 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
  • 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 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