Unable to open mysql shell to execute query


#1

[bhagyashreepatle@gw02 ~]$ gw02.itversity.com mysql -u retail_dba -h bhagyashreepatle.itversity.com -u
bash: gw02.itversity.com: command not found…
[bhagyashreepatle@gw02 ~]$ mysql -u retail_dba -h bhagyashreepatle.itversity.com -u
mysql: option ‘-u’ requires an argument
[bhagyashreepatle@gw02 ~]$ mysql -u retail_dba -h bhagyashreepatle.itversity.com -p
Enter password:
ERROR 2005 (HY000): Unknown MySQL server host ‘bhagyashreepatle.itversity.com’ (0)
[bhagyashreepatle@gw02 ~]$ mysql -u retail_dba -h bhagyashreepatle.itversity.com -p
Enter password:
ERROR 2005 (HY000): Unknown MySQL server host ‘bhagyashreepatle.itversity.com’ (0)
[bhagyashreepatle@gw02 ~]$


#2

bhagyashreepatle@gw02 ~]$ mysql
ERROR 1045 (28000): Access denied for user ‘bhagyashreepatle’@‘localhost’ (using password: NO)
[bhagyashreepatle@gw02 ~]$


#3

i want to use my id instead of nn01.itversity.com
i want to create my own databases and tables


#4

@Bhagyashree_Patle Please go through this link.