mysql - Trying to connect to server for ruby development -
i'm new ruby , having trouble setting server.
i did gems installing , stuff have mysql2
server running can't connect trough local host keep getting error.
so i've tried changing default server gem
puma don't know webrick
recommended , active record database mysql2 error i'll upload server client connections , gemfile , such if helpful.
but i'm trying setting server test ruby apps.
you should check database.yml , enters connection parameters database.
should appears this:
# mysql. versions 4.1 , 5.0 recommended. # # install mysql driver # gem install mysql2 # # ensure mysql gem defined in gemfile # gem 'mysql2' # # , sure use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: adapter: mysql2 encoding: utf8 reconnect: false database: tst_database pool: 5 username: root password: "my_password_on_sql_installation" #socket: /var/run/mysqld/mysqld.sock
after run server searching route , typing rails server
on promt.
Comments
Post a Comment