Solved

MySQL-3.23.58-1.i386 with linux redhat 9

Posted on 2004-03-25
12
346 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

821 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