--- Karl Larsen <[EMAIL PROTECTED]> escribió: > I'm trying to use mysql on Linux type Fedora > Core 4 and it works > part way but I have no guess how to fix this > problem. Here is what happens: > > [EMAIL PROTECTED] ~]$ mysql > Welcome to the MySQL monitor. Commands end with ; > or \g. > Your MySQL connection id is 3 to server version: > 4.1.20-log > > Type 'help;' or '\h' for help. Type '\c' to clear > the buffer. > > mysql> use mysql; > ERROR 1044 (42000): Access denied for user > ''@'localhost' to database > 'mysql' > mysql> > > I let you see the way I get mysql up and then I > ask to use a DB and > every time I get ERROR 1044 and so of course I can't > use mysql. > > Does anyone know what error I have made? I > loaded mysql from the > Linux version I'm using and had the problem. I then > deleted all and yum > got the latest version which is up now. > > Karl Larsen
Hi, the problem is that you are not specifying any user to use mysql monitor you have to start it like this: mysql -ujohn -p or mysql -u john -p -u indicates the user you are logging as -p indicates that you have a password and you want to type it. Of course for you to log in as john you `ve got to set permission for user john to log in mysql trough localhost. Hope it helps. PS: If you have further questions read this: http://dev.mysql.com/doc/refman/4.1/en/user-account-management.html ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]