"Paulo Fonseca Jr." <[EMAIL PROTECTED]> wrote: > > I was received a error when I was trying to create a new database on freebsd > 5.1, mysql 4.0.14. The "test" database is working well. > > COMMAND: > mysqladmin create desenv > or > mysql > create database desenv; > > ERROR: > mysqladmin: CREATE DATABASE failed; error: 'Access denied for user: > '@localhost' to database 'desenv'' > > The directory "/usr/local/mysql" and subfiles owner and group are "mysql" > Anybody can help me!
Anonymous user doesn't have premissions to create database. Connect as a root or any other user that have global CREATE privilege. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]