Re: OT: getting started with mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/15/05, Duncan Lithgow <duncan@xxxxxxxxxxxxxxxxxx> wrote:
> I've got it installed and running but I can't seem to get it to do
> anything. I can't get access mysql as root to make some users and such.
> I just want to make a user with 'create insert edit' etc rights for
> testing on my local machine. Here's what I've got so far...
> 
> error: 'Access denied for user: 'root@localhost' (Using password: NO)'
> [root@3e6b36fa ~]# service mysqld start
> Starting MySQL:                                            [  OK  ]
> [root@3e6b36fa ~]# mysql
> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
> 
> So, what am I doing wrong?

Try

  mysql -u root -p

And then just hit enter when you are prompted for the password.

Dave...


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux