MYSQl ACCESS REQUIRED

[gavoury@webminal.org ~]$mysql -u gavoury -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘gavoury’@‘localhost’ (using password: YES)
[gavoury@webminal.org ~]$

kindly give access to use mysql

Instead of above command, can you simply try with

mysql

Let me know whether it worked or not. thanks

it did not worked out

Please try again now. mysql I updated your records.

Thank You, received access

can I access mysql table using shell script, it says access denied.
shell script - file name is k
mysql
select * from emp;

gavoury@webminal.org ~]$sh k
Enter password:
ERROR 1045 (28000): Access denied for user ‘gavoury’@‘localhost’ (using password: YES)
k: line 2: syntax error near unexpected token from' k: line 2: select * from emp;’

Please try with mysql password. Its stored on your home directory with name .magic_string.txt

I have the same problem:
ERROR 1049 (42000): Unknown database ‘db_csonkasanyi’

Could you help me?

Thanks! :wink: