Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1.  
  2. Currently in JavaScript mode. Use \sql to switch to SQL mode and execute queries.
  3. mysql-js> create USER 'SAMPLE'@'localhost' IDENTIFIED BY 'amira_12'
  4. SyntaxError: Unexpected identifier
  5. mysql-js> create USER 'SAMPLE'@'localhost' IDENTIFIED BY 'amira_12';
  6. SyntaxError: Unexpected identifier
  7. mysql-js> CREATE USER 'SAMPLE'@'localhost' IDENTIFIED BY 'amira_12';
  8. SyntaxError: Unexpected identifier
  9. mysql-js> CREATE USER SAMPLE@localhost IDENTIFIED BY 'amira_12';
  10. SyntaxError: Unexpected identifier
  11. mysql-js> CREATE USER SAMPLE@localhost IDENTIFIED BY amira_12;
  12. SyntaxError: Unexpected identifier
  13. mysql-js> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
  14. SyntaxError: Unexpected identifier
  15. mysql-js> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
  16. SyntaxError: Unexpected identifier
  17. mysql-js> mysql -u root -p
  18. SyntaxError: Unexpected identifier
  19. mysql-js> mysql -u root -p
  20. SyntaxError: Unexpected identifier
  21. mysql-js> mysql -u root -p amira_12
  22. SyntaxError: Unexpected identifier
  23. mysql-js> mysql -u root -pamira_12
  24. SyntaxError: Unexpected identifier
  25. mysql-js> mysql -u root -p
  26. SyntaxError: Unexpected identifier
  27. mysql-js> mysql -u root -p amira_12 -h localhost
  28. SyntaxError: Unexpected identifier
  29. mysql-js>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement