Advertisement
Guest User

Untitled

a guest
Oct 11th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. gw-pisces:/srv/www/htdocs/snorby # cat config/snorby_config.yml
  2. development:
  3. domain: localhost:3000
  4. wkhtmltopdf: /usr/bin/wkhtmltopdf
  5.  
  6. test:
  7. domain: localhost:3000
  8. wkhtmltopdf: /usr/bin/wkhtmltopdf
  9.  
  10. production:
  11. domain: localhost:3000
  12. wkhtmltopdf: /usr/bin/wkhtmltopdf
  13. gw-pisces:/srv/www/htdocs/snorby # cat config/database.yml
  14. # Snorby Database Configuration
  15. #
  16. # Please set your database password/user below
  17. #
  18. snorby: &snorby
  19. adapter: mysql
  20. database: snort
  21. username: snort
  22. password: senha_snort_mysql
  23. host: localhost
  24.  
  25. development:
  26. <<: *snorby
  27.  
  28. test:
  29. <<: *snorby
  30.  
  31. production:
  32. adapter: mysql
  33. database: snort
  34. username: snort
  35. password: senha_snort_mysql
  36. host: localhost
  37. gw-pisces:/srv/www/htdocs/snorby # mysql -usnort -psenha_snort_mysql
  38. Welcome to the MySQL monitor. Commands end with ; or \g.
  39. Your MySQL connection id is 72
  40. Server version: 5.1.53-log SUSE MySQL RPM
  41.  
  42. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  43. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  44. and you are welcome to modify and redistribute it under the GPL v2 license
  45.  
  46. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  47.  
  48. mysql> quit
  49. Bye
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement