Solved

MySQL-3.23.58-1.i386 with linux redhat 9

Posted on 2004-03-25
12
359 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

624 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