Find the answer to your Linux question:
Results 1 to 9 of 9
I recently installed Apache2, PHP5 and MySQL Client on Ubuntu 9.10 and I'm unable to get to mysql using the terminal. The command I use is: mysql -u root -p ...
  1. #1
    Just Joined! Scallywag's Avatar
    Join Date
    Jul 2009
    Location
    Black Mountain, NC
    Posts
    24

    MySQL Issue in Ubuntu 9.10

    I recently installed Apache2, PHP5 and MySQL Client on Ubuntu 9.10 and I'm unable to get to mysql using the terminal.

    The command I use is:
    mysql -u root -p

    When I enter this the terminal shows a blinking cursor and locks up.

    Any ideas?

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Quote Originally Posted by Scallywag View Post
    I recently installed Apache2, PHP5 and MySQL Client on Ubuntu 9.10 and I'm unable to get to mysql using the terminal.

    The command I use is:
    mysql -u root -p

    When I enter this the terminal shows a blinking cursor and locks up.

    Any ideas?
    Have you installed the server?

    Code:
    sudo apt-get install mysql-server
    I also recommend the GUI tools

    Code:
    sudo apt-get install mysql-query-browser mysql-admin
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  3. #3
    Just Joined! Scallywag's Avatar
    Join Date
    Jul 2009
    Location
    Black Mountain, NC
    Posts
    24
    Yes, I've done all that.
    It appears as though someting is running in the background of the terminal.

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    OK, it might be as simple as entering the root password you entered when installing the server. Although in my install it says "Enter Password:" when I run the same command.

    [edit]
    Even if I stop the MySQL Server I still get asked for a password
    [/edit]
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  5. #5
    Just Joined! Scallywag's Avatar
    Join Date
    Jul 2009
    Location
    Black Mountain, NC
    Posts
    24
    It never asked for the root password during installation of the server.
    I never get to the "Enter password:" message after entering the command.

  6. #6
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Something odd happened as it has always asked me for a password.

    Anyway try this
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  7. #7
    Just Joined! Scallywag's Avatar
    Join Date
    Jul 2009
    Location
    Black Mountain, NC
    Posts
    24
    I'm unable to stop mysql, access it "safely", etc.
    I can connect using MySQL Administrator, however.
    I'd like to be able to access databases using the terminal.

  8. #8
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    I've never encountered this and have had no luck on Google. It may be worth uninstalling and re-installing the MySQL Client.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  9. #9
    Just Joined! Scallywag's Avatar
    Join Date
    Jul 2009
    Location
    Black Mountain, NC
    Posts
    24
    I've uninstalled everything. Now I'm having issues with installing mysql-server.
    (See dpkg issues installing mysql-server)

Posting Permissions

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