Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to use mysql in fedora core 6

    hi all.
    i m using fedora core 6.i want to use sql server.i m working as root user.i have install all the rpm related to mysql .i m using command
    1.service mysqld status
    2.service mysqld start
    when i use this command i got follwing error.
    [root@localhost ~]# service mysqld start
    Initializing MySQL database: Neither host 'localhost' nor 'localhost' could be looked up with
    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
    pls help me, i m very new in linux palteform.if possible then pls give me discriptive answer,so that i can usnderstand.

    with warm regards
    Rahul kumar Gautam.

  2. #2
    Run "resolveip localhost" and tell us what it says. Run "hostname" and tell us what it says. Also make sure you've got a localhost entry in your /etc/hosts file (it should have been created when you install the system).

Posting Permissions

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