[zabbix@lnm-mgt-tm003 schema]$ cat mysql.sql | mysql -u root > zabbix
ERROR 1046 (3D000) at line 1: No database selected
[zabbix@lnm-mgt-tm003 schema]$ cat mysql.sql | mysql -u root -p xxxxxxxx > zabbix
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[zabbix@lnm-mgt-tm003 schema]$ cat mysql.sql | mysql -u zabbix -p zabbix > zabbix
Enter password:
ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: YES)
[zabbix@lnm-mgt-tm003 schema]$
I tried both 'root' and 'zabbix' userids and passwords and both failied. What userid/passord it's looking for? THank you !!!
ERROR 1046 (3D000) at line 1: No database selected
[zabbix@lnm-mgt-tm003 schema]$ cat mysql.sql | mysql -u root -p xxxxxxxx > zabbix
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[zabbix@lnm-mgt-tm003 schema]$ cat mysql.sql | mysql -u zabbix -p zabbix > zabbix
Enter password:
ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: YES)
[zabbix@lnm-mgt-tm003 schema]$
I tried both 'root' and 'zabbix' userids and passwords and both failied. What userid/passord it's looking for? THank you !!!
Comment