Find the answer to your Linux question:
Results 1 to 7 of 7
hi am new user and i have installed mysql through yast but whenever i check the status of mysql it gives me below output and i dont know how i ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    40

    mysql problem

    hi
    am new user and i have installed mysql through yast but whenever i check
    the status of mysql it gives me below output and i dont know how i can enable it
    kwas-kx9q4fz1:~ # rcmysql status
    Checking for service MySQL: unused

  2. #2
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    Usually when it says "unused" the service is not on. As root, type:
    Code:
    /etc/init.d/mysql start
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    40

    mysql problem

    hi harner when i start the sql the below output is what i get

    kwas-kx9q4fz1:~ # /etc/init.d/mysql start
    Creating MySQL privilege database and starting MySQL...
    hostname: Host name lookup failure
    Neither host '' and 'localhost' could not be looked up with
    /usr/bin/resolveip
    Please configure the 'hostname' command to return a correct hostname.
    If you want to solve this at a later stage, restart this script with
    the --force option
    failed

  4. #4
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    Did you configure your system through YaST? It looks like it doesn't like your hostname. You can edit that in Yast.

    I usually edit my MySQL servers via Webmin, but phpMyAdmin works alright as well. I'm no MySQL expert, I have it loaded on almost all of my Linux servers and it works just fine. You didn't configure something right.
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    40
    thanks harner now its running properly.

  6. #6
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    Glad to hear it kwaslee! Now you can become a MySQL guru and teach the rest of us a thing or two!
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

  7. #7
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2
    Hey try this?
    If u installed all pakages needed for mysql then follow
    Yast-System-Services(Runlevel). Look for mysql service & enable it.
    Save changes & exit.
    Now open terminal & type as a root mysql. the promnt should change & u have done it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...