Displaying 20 results from an estimated 30000 matches similar to: "mysql.sock error message"
2009 Apr 29
1
Driving me nuts!!! - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I had to put a new HD in, and now I''m reinstalling everything, and
can''t get mysql to fully work. I can''t remember how I fixed it. I''ve
searched everywhere online and can''t find anything.
when I try to use the >mysql command I get this:
Can''t connect to local MySQL server through socket ''/tmp/
mysql.sock'' (2)
My first
2005 Mar 23
1
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
I am getting random can''t connect to MySQL server errors on my Rails application
located at http://www.thedatingguy.com/blog
Do you have any clue why this is happening?
This is the error:
Mysql::Error (Can''t connect to local MySQL server through socket
''/tmp/mysql.sock'' (61)):
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
2011 Nov 07
1
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
Hi all,
I did a fresh install of ROR on my fedora 15,i get the
following error.
" $ rails s
=> Booting WEBrick
=> Rails 3.1.1 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.6/lib/mysql2/client.rb:43:in
`connect'': Can''t connect to
2005 Aug 07
1
mysql sock location
Hi;
In case your * and mysql are running on the same machine, and you get error
"Failed to connect to mysql database server ..." when using Asterisk with
Mysql database, check the location of mysql.sock
not /tmp/mysql.sock, but /var/lib/mysql/mysql.sock
Regards
Kun
2015 May 21
4
Centos 6.6 Can't connect to local MySQL server through socket /var/lib/MySQL/MySQL.sock (error 2002)
Hi
Total newby to centos I am currently assisting a community radio station set up in the Uk we are using a server based system for our playout software, unfortunately at the moment one of our client servers is experience the above error I came across the error on our main server a few weeks ago and found the solution just by reinstalling the MySQL db but I have tried to deploy the same fix on
2006 May 08
1
[nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)]
Hello,
I have an error when installing AMP, when I do ./install_amp --debug, it show me :
Connecting to database..FAILED
[DEBUG] [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)] ** mysql://user:pass@localhost/asteriskamp
Try running ./install_amp --username=user --password=pass (using your own user and pass)
[FATAL] Cannot connect
2006 Aug 12
1
Getting mysql.sock error
Sort of a noob question:
I keep getting the following error:
No such file or directory - /tmp/mysql.sock
RAILS_ROOT: ./script/../config/../
from the downloaded code for Agile''s depot app. Could someone point me
in the right direction?
J
2015 May 21
2
Centos 6.6 Can't connect to local MySQL server through socket /var/lib/MySQL/MySQL.sock (error 2002)
I cannot say if it ever worked I have inherited the sorting out of our servers at the radio station due to it being run by volunteers and as in all volunteer organisations people come and go I did do some research on the internet and tried various commands in the terminal but kept on getting MySQL does not exist yet when I tried the locate MySQL I did get an output with various directories and
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few
mths ago, but have decided to start from scratch with 1.0.
I want to build my new db as much as possible with migrations, so I
watched DHH''s migrations movie from rubyonrails.org.
A few things confuse me:
1. He generates the model ("post") before running rake db_schema_dump.
Is that necessary or
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
Hi,
A newbie in the RoR world, I''m already more or less stuck when
generating the scaffold for my first tutorial project ...
When I try to generate scaffold code for my version of the ''depot''
application from the ''Agile rails ...'' book, I receive the following
error:
#28000Access denied for user ''bo''@''localhost''
2005 Jan 07
3
ruby on cygwin and mysql - problem connecting to db
Hi,
I''m trying my hand at rails by working through the tutorial. I''m stuck
on getting the rails app, running on webrick, to talk to mysql. I''m
getting the "No such file or directory - /tmp/mysql.sock" message that
I''ve seen that others sometimes encounter.
Here''s my environment:
Win2k w/ cygwin installed at c:\cygwin
ruby installed via
2009 Mar 10
4
RoR on Bluehost
Hi all. I''m having problems getting a RoR app to run on bluehost. Here''s
the rundown. First I''m frustrated because I have two accounts, I''ve
gotten an app to run on one account, and I can''t get one running on the
other. And I''m pretty sure I did everything the same.
On the one that isn''t working, I keep getting the error page. When I
2006 Dec 14
4
need help rubyonrails/mysql problem
Hi everybody,
I am new in rubyonrails, and I am trying to learn it so I try to
implement tht examples in the agile web developement with rails. I have
stopped when I want to use scaffold. as it is mentionned in the book:
ruby script/generate scaffold Product Admin
but i get an error: it said no such file or directory /tmp/mysql.sock
I have checked my configuration of mysql and i found that mysql
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and
going through the whole project. well i am now stuck on creating the
scaffold. I have been messing with settings for awhile now. here is the
error:
koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency
2009 May 26
3
ruby and MySql
Hi there - new to RoR but very excited about it indeed -
I have just manged to install everything.
However, when I browse to http://localhost:3000/ then click the "About
your application’s environment" - from the console I get :
Status: 500 Internal Server Error
no such file to load -- mysql
Perhaps someone can tell from my configuration what is wrong ??? What I
may be missing ??
2006 Oct 11
3
Strange Mysql connect problem
Hi, I compiled Dovecot and Mysql on two different servers each with the same options. Dovecot connects successfully on Server B. Server A has this error in Dovecot trying to connect to Mysql:
dovecot: auth-worker(default): mysql: Connect failed to /tmp/mysql.sock (exim_db): Access denied for user 'user'@'localhost' (using password: YES) - waiting for 5 seconds before
Passwords
2006 Mar 29
3
socket for mysql
I have mysql running on a different machine. I''ve editted database.yml,
here''s the entry
development:
adapter: mysql
database: cookbook
username: root
password: mypassword
host: posta.rmasonfamily.info
test:
adapter: mysql
database: cookbook
username: root
password: mypassword
host: posta.rmasonfamily.info
production:
adapter: mysql
database: cookbook
2006 Aug 02
1
how to change rails mysql socket PATH from /var/run to /var/lib?
i have an app im installing that tries look for mysqld.sock in
/var/run/mysqld/mysqld.sock and mysql puts it at /var/lib/mysql/mysql.sock.
if i point mysql at /var/run the app works i.e mysqld
-socket=/var/run/mysqld/mysqld.sock; if i don''t i get an error that goes "
Showing app/views/articles/index.rhtml where line #35 raised:
No such file or directory -
2008 Jun 03
15
Problem with rails environment with cygwin...mysql doesn't
I have rails 1.2.2, ruby 1.8, mysql 5 and Rad Rails in my win XP and
this
stack works fine.
But I''m trying to use rails 2.1, mongrel, capistrano, git, mysql all in
cygwin and e Text Editor.The only think that doesn''t work is mysql.I
installed this app from the source(in version 5.0.45, ./configure then
make install).All
right, but when I try to launch this error occurs:
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi,
I am having Mysql connection problem for my first AddressBook
application (which I took it from
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/)
I have gem installed the latest ruby, rails, lighttpd, fastcgi,
mysql-4.1.14 on linux. Everything looks good. When I do:
mysql -h localhost -u test -ptest -D AddressBook
mysql> SELECT COUNT(*) FROM contacts;
+----------+
|