[thelist] mySQL setup issues

Steve Webster steve at netbreed.co.uk
Mon Dec 2 08:15:01 CST 2002


Hi Beau,

> Hi,
>
> I'm having trouble setting up mySQL. I'm kind of stuck. Here's what I've
> done so far:
>
> 1. Redhat 8.0 newly installed.
> 2. Ran: ./mysql_install_db
> 3. Ran: safe_mysqld &
> 4. Ran: mysqladmin -u root password <password>
>
> mysqladmin: connect to server at 'localhost' failed
>
> error: 'Access denied for user: 'root at localhost' (Using password: NO)'

This shown that the password isn't being used. If you look at your
command line you'll see why. You need to use '-p' or '-password' when
specifying the password, not just 'password' (without the dash).

> 5. Ran: mysqladmin -u root -h <host> password <password>
>
> mysqladmin: connect to server at '<host>' failed
>
> error: 'Access denied for user: 'root@<host> (Using password: NO)'

Same here!

Regards,

Steve

--

================================
  Steve Webster
  Freelance Web Developer
  steve at codejunkie.co.uk

  PHP, MySQL, Flash, Perl + more
  http://www.codejunkie.co.uk
================================





More information about the thelist mailing list