similar to: Can't connect to local MySQL server

Displaying 20 results from an estimated 2000 matches similar to: "Can't connect to local MySQL server"

2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2006 Mar 30
2
database.yml and Dreamhost
I am unable to connect to my databases. Here is the error I am getting: MysqlError (Can''t connect to local MySQL server through socket ''/var/run/mysqld/mysqld.sock'' (2)): Here is my database.yml: # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Get the fast C bindings: # gem install mysql # (on OS X: gem install mysql --
2005 Dec 18
5
restarting fastCGI process
Hi, I am very new to this so please go easy on me... I am trying to deploy my app on dreamhost and I seem to be having problems getting it working. One of the troubleshooting items on the wiki states: Rails apps in production mode do not reflect changes made after they start running. So, if you found a bug, fixed it and nothing appeared to happen--this is probably because you
2006 Jan 23
9
Web Hosting Options?
Can someone recommend a good web host for ROR? -- Posted via http://www.ruby-forum.com/.
2006 May 03
7
anybody using GoDaddy for hosting ?
Is anybody hosting with GoDaddy.com? I''m about to set up a hosted account for my RoR app and see that they''re now offering RoR hosting. I''d really appreciate hearing from anybody who''s tried them for RoR. Any congrats / complaints / etc. you had / are having would be really appreciated! Thanks, Bill -------------- next part -------------- An HTML attachment
2006 Feb 14
18
Does shared hosting work? Anywhere?
I moved a rails application to textdrive using their low-cost shared plan. Once on textdrive my app would display ''proxy errors'' periodically. Hitting reload seemed to be all that was needed to get past the proxy error. After discussions with their support people I decided the proxy errors were being caused by apache server restarts -- because there were many of us sharing one
2006 May 31
3
Database can''t connect -
I''m sorry guys. I''m really still such a newbie at this. i''ve been having trouble getting my Rails apps to run on Dreamhost, and I think it might be a problem with the database connection. Anyway, I read on Code Snippets that I should do this: [rhod]$ ruby -Iconfig -renvironment -e "p ActiveRecord::Base.connection" to find out if my database.yml file is
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready to deploy it. Unfortunately, my client decided to use GoDaddy as the hosting provider and based on what I''ve seen so far from the web, it''s not really the smoothest or ideal hosting for RoR apps. There were several posts here that I tried to follow but they were kinda old (2008, 2007). Most of
2006 Jun 20
2
website hosting
Hi, im looking for a shared web host account that will support rails (php 5 would also be a bonus) Has any one got any recommendations? thanks scott -- Posted via http://www.ruby-forum.com/.
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
Hello, I've only had experience with PostgreSQL sofar, but have now to install MySQL (and WordPress) on a CentOS 6.4 /64 bit server. I have installed the mysql-5.1.69-1.el6_4.x86_64 package and executed the following commands: # chkconfig mysqld on # service mysqld start # /usr/bin/mysqladmin -u root password 'xxxxx' # /usr/bin/mysql_secure_installation Then I've noticed that
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 -
2006 Apr 10
10
Anyone has experience with railsplayground.com hosting ?
Im ready to start hosting and deploying some of my rails apps, im guessing if someone are using railsplayground.com shared hosting plan, right now im paying USD $35 for a half of disk space and transfer, with no rails support :( any advice its more than welcome :) -- Posted via http://www.ruby-forum.com/.
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello. This is my mysql-server.pp file, both master and client are runing ubuntu. -------------------- class mysql-server { package { "mysql-server": ensure => installed } package { "mysql-client": ensure => installed } service { "mysql": enable => true, ensure => running, require => Package["mysql-server"], } file
2007 May 17
1
exec format error
Hi I have been using backgroundrb version 0.1 for a while. Unfortunately, I have to develop on windows :( It has worked fine for a while. However, this morning I started up and old app that worked fine and get this error. exec format error from running --trace I see that the error comes from backgroundrb_tasks.rb line 59 which reads: 59 `#{scripts_src}/start -d` Here is the context. desc
2007 Feb 14
1
cron like behaviour?
Hi I have previously used railscron for server-side manipulation of the database but had a heap of trouble working with it. BackgrounDRB was suggested to me by a friend. I upload some files via acts_as_attachment and these go lie in a dir structure that i desire. What I want from the background process is to periodically (not user initiated) do some file-structure manipulation i.e. I want to
2009 Sep 12
1
mysql query logging
Nothing I have done so far seems to work # cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 max_allowed_packet=2MB [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid
2016 Sep 23
4
Install Mariadb on Centos 7 fails
Folks I'm having problems installing Mariadb in Centos 7. Here's what I did: 0) Become root 1) Make sure that mariadb and mysql are NOT installed. 2) Delete residual libs rm -rf /var/lib/mysq* 3) yum install -y mariadb-server installed mariadb-5.5.50-1.el7_2.x86_64 from the Centos 'updates' repository 4) systemctl start mariadb 5) systemctl status mariadb
2005 Sep 04
4
mysql
I just installed CentOS 3.5. Included in the install was mysql. When trying to start it using: service mysqld start. The system responds with mysqld not recpognized as a service. When trying to use /usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search of the system does not reveal
2009 Mar 05
2
Can't connect to local MySQL server through socket...
I just did an unwanted mysql upgrade and am now unable to start the mysql service. After doing some searching the common solution is to just create a symlink ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock The issue for me is I don''t have the file I am trying to symlink to (/var/run/mysqld/mysqld.sock) If I try to start mysql manually (mysql start) I get the error: # mysql start
2011 Jan 25
1
mysqld status discrepancy
Bug, explainable, or expected?? Checking the status of mysqld as root, then as a regular user: # /etc/init.d/mysqld status mysqld (pid 4806) is running... $ /etc/init.d/mysqld status mysqld dead but subsys locked