MySQL Forums
Forum List  »  Ruby

Re: syntax error on line 18, col 2: ` socket: /tmp/mysql.sock'
Posted by: matias penela
Date: June 14, 2007 01:37AM

I figured out what was going on in my file.

There were tabs in my file rather than spaces.

Ex:
adapter: mysql
[tab]database: matias_db
[tab]username: root
[tab]password: matias
[tab]host: localhost


But it should be:

adapter: mysql
[space]database: matias_db
[space]username: root
[space]password: matias
[space]host: localhost

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.