-
Notifications
You must be signed in to change notification settings - Fork 220
FAQ
This is a general list of questions that we get often often. As you can see, it's a bit sparse right now, but it will definitely grow!
#Installation
###Ubuntu Script Bugs
If you get the error Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
then follow the solution in this post.
####Where do I find the MySQL username and password? If this is your first time logging into MySQL, your username is 'root'. You may also need to set the root password:
Start the server:
sudo /usr/local/mysql/support-files/mysql.server start
Set the password:
mysqladmin -u root password "[New_Password]"
If you lost your root password, refer to the [MySQL wiki] (http://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html)
###Bundle Install is throwing errors This happens as gems get updated.These fixes are gem-specific, but two common ones are
eventmachine - run bundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
libv8 - run bundle config build.libv8 --with-system-v8
then run bundle install
again
If this still does not work, try exploring this StackOverflow link
####Can't connect to local MySQL server through socket
Make sure you've started the MySQL server and double-check the socket in config/database.yml
The default socket location is /tmp/mysql.sock
.
See something wrong or out of date? Did our wording trip you up? Bad documentation sucks for everyone--be sure to let us know if there's something out of place!
-- The Autolab Team