SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: MySQL password

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    spain
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL password

    I've bought the book - 'what book?'- & am going well, finished chapter 2 with all coming out as it should. MySQL, PHP & Apache seemingly all set up.
    However, I can't seem to set up a password, as on page 21:

    mysqladmin -u root password "your new password"

    I'm not prompted for a command when I use MySQL. The book says I should set one.

    Where should I be putting this command? I've been trying out commands in the C:/Mysql/bin/Mysql - the programme there for the chapter 2 stuff. If I'm supposed to put this command there, it isn't working.

    Another thing, when I test the php pages in my browser, they work when I'm connected to the internet but not offline. Is there a way of testing without being connected.

    I'm totally new to programming - any suggestions would be appreciated. Thanks.

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    spain
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That should read -

    'I'm not prompted for a password when I use MySQL'


Bookmarks

Posting Permissions

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