Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   Login to MySQL
Date:   2005-09-09 12:52:55
From:   Norb_Eckert
Hi,


I cannot log into the database as per your steps on the 2nd page of the article. I have installed MySql with the defaults and unchecked the security piece but I am uncertain what to enter in the field for the MySQL-Front dialog box with the "General", "Connection", and "Login" tabs. Can you be more specific about the data required in the fields located there?


Thanks,


Norb

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Curt Hibbs photo Login to MySQL
    2005-09-09 15:37:50  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    In the general tab you just make up a name for the database connection. This mostly matters for people who connect to multiple databases. Make something up.

    In the connection tab use Server=localhost, port=3306, connection-type=direct. The fields should have defaulted to this (except, perhaps, the server field).

    In the login tab, use user=root and leave the password empty, unless you assigned a root password when you installed MySQL. Previously, you had to leave the password blank, but Rails now supports the new MySQL authentication scheme so you *can* use a pssword now. If you check the "Save Password" box it won't ask you for the password everytime. Just leave the database field empty.

    That should do it.