peatio icon indicating copy to clipboard operation
peatio copied to clipboard

Example Setup MySQL

Open endofthepain opened this issue 8 years ago • 4 comments

Hi, i need example for config mysql server because i still get error

/usr/local/rvm/gems/ruby-2.5.0/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. false was converted to "false". (StructuredWarnings::StandardWarning)Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your MySQL installation

endofthepain avatar Feb 02 '18 02:02 endofthepain

I can take this.

GildedHonour avatar Feb 02 '18 06:02 GildedHonour

Hello @endofthepain

Consider reading MySQL docs first. Your issue is related to missing password for MySQL user.

When your question is resolved pls close the issue.

yivo avatar Feb 02 '18 10:02 yivo

here my example

`default: &default adapter: mysql2 encoding: utf8 pool: 5 host: <%= ENV['localhost'] %> username: <%= ENV['root'] %> password: <%= ENV['mypassword'] %>

development: <<: *default database: peatio_development

test: <<: *default database: peatio_test

production: <<: *default url: <%= ENV['localhost'] %> pool: 10 database: peatio_production`

.___. and still get error

endofthepain avatar Feb 03 '18 16:02 endofthepain

Hello @endofthepain

This is not an error. It opens prompt for password. Tweak your config for appropriate passwords and logins.

yivo avatar Feb 03 '18 20:02 yivo