Re: Access Denied

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

 



On 6/9/06, Ankush Grover <ankush174@xxxxxxxxx> wrote:
> [root@bde root]# mysqladmin -u root -p create kaushal
> Enter password:
> mysqladmin: CREATE DATABASE failed; error: 'Access denied for user:
> 'root@localhost' to database 'kaushal''
>
hey,

You can create the database from the mysql prompt

mysql>  create database kaushal;

I tried the same command on my system and there was no error

mysqladmin -u root -p create kaushal

and I checked the database was indeed created.

Did you supplied the correct password ?

Regards

Ankush Grover


Ankush,

I know this command to create database at the mysql > prompt, but can
you please let me know why  mysqladmin -u root -p create kaushal
doesnot work
I am able to login to MySQL server using

[root@bde root]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 25 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

But why am I not able to create database at the root # prompt using
mysqladmin command

Do let me know if you want more info on this

Thanks

Kaushal

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux