Solved

MySQL-3.23.58-1.i386 with linux redhat 9

Posted on 2004-03-25
12
317 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
 

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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now