Guest User

Untitled

a guest
Nov 26th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. So, this is my database.yml. I already restarted Apache, Passenger, git pulled some files, and all I get is:
  2.  
  3.  
  4. # production.log
  5. Started GET "/" for 189.74.221.227 at 2011-05-27 21:02:54 -0400
  6.  
  7. Mysql2::Error (Access denied for user 'root'@'localhost' (using password: YES)):
  8.  
  9.  
  10. # database.yml
  11. # I used rooty as user just to make sure it wasn't in development
  12.  
  13. development:
  14. adapter: mysql2
  15. encoding: utf8
  16. host: 127.0.0.1
  17. database: mydatabase
  18. user: rooty
  19. password:
  20. pool: 5
  21. timeout: 5000
  22.  
  23. test:
  24. adapter: mysql2
  25. encoding: utf8
  26. host: 127.0.0.1
  27. database: mydatabasename
  28. user: root
  29. password:
  30. # socket: /var/run/mysqld/mysqld.sock
  31. pool: 5
  32. timeout: 5000
  33.  
  34. production:
  35. adapter: mysql2
  36. encoding: utf8
  37. host: localhost
  38. database: mydatabase
  39. user: kurko
  40. password: ****
  41. pool: 5
  42. timeout: 5000
Add Comment
Please, Sign In to add comment