Displaying 20 results from an estimated 6000 matches similar to: "Rails Tutorial - mySQL doesn't connect in InstantRails..."
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
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
2005 May 24
8
mysql & xen - is anyone using this combination successfully?
Hi,
I''ve tried running the mysql daemon on a few different servers running Xen,
and seen two different sorts of problems.
In one case, on two identically configured systems, the mysql daemon segv''s
but restarts immediately. This happened with Xen 2.0.5, I haven''t yet seen it
with 2.0.6. It seems to be the same problem as this one:
2009 Jan 20
3
Re : problem with running mysql on glusterfs
Hello. I would like to ask about having mysql data hosted on glusterfs.
Please see my issue below. I have posted DEBUG log information on pastebin.
I am using
GlusterFS version: glusterfs 1.4.0rc7
FUSE Version :fuse-2.7.3glfs10
my ISSUE is:
When hosting mysql data on glusterfs I have an issue:
The first time I start the glusterfsd server using
[root at mohan ~]#
2009 Nov 12
1
kernel error
Hi,
yesterday there was obviously a problem in one virtual server.
Host centos
uname -rm: 2.6.18-128.1.6.el5 x86_64
Guest: centos
uname -rm: 2.6.18-128.4.1.el5 x86_64
Vmware server : VMware-server-2.0.1-156745.x86_64.rpm
Logwatch in guest:
--------------------- Kernel Begin ------------------------
WARNING: Kernel Errors Present
[<ffffffff8005dde9>]
2012 Aug 03
2
ot: mysql auth worker failure ?
looking through logs I noticed this today:
grep mysql /var/log/maillog | grep fail
Aug 3 17:35:25 dovecot: auth-worker(28335): Error: mysql: Query failed,
retrying: Table 'postfix.users' doesn't exist
Aug 3 17:35:57 dovecot: auth-worker(28335): Error: mysql: Query failed,
retrying: Table 'postfix.users' doesn't exist
Aug 3 17:36:02 dovecot: auth-worker(28335): Error:
2015 Mar 30
5
mysql can't connect from localhost -strange behavior
Hey all,
I've been having some trouble creating a mysql user that can connect to
the database from localhost. It's always been a straight forward thing to
do in the past, so its time for a sanity check, if you guys don't mind.
Ok, so here's the actual command with actual simplified password that I'm
using. It's on localhost so I don't think it's a security threat
2006 Jun 18
0
Out of Memory xenU
Hi,
i''ve a big problem in a xenU (256M RAM, 2.6.11.12-xenU, in 3 LVM partition
(/, swap and /home)
This xenU freeze and crash with this messages in syslog.
This xenU work very fine since 2005 september.
Is it serious ? What could be the solution ?
Regards
Franck
############ SYSLOG
......................
Jun 18 08:45:21 lemodev kernel: oom-killer: gfp_mask=0x1d2
Jun 18 08:45:21
2006 Jun 06
0
Re: [ocruby] iteration A1 in ebook: scaffold gets: routing error
At 02:42 AM 6/6/2006, you wrote:
>hi, on page 82 of second edition, getting stuck after
got past that, must have been doing something wrong. ended up writing
the script below:
thanks
set -x
base=i:/work
PATH=/cygdrive/$base:$PATH
name=depot
cd $base
rm -rf depot
ls
mysqladmin -f -u root drop ${name}_development
mysqladmin -u root create ${name}_development
mysqladmin -f -u root drop
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application
presented in Agile Web Development with Rails (AWDwR). I am using InstantRails
for the server. In my app I have the folowing controllers:
admin_controller
application_controller
city_map_controller (with method: displayGMap)
The admin_controller was created with the following command:
ruby script/generate scaffold
2009 Aug 31
1
mysql error
Hi List i'm trying to setup my sever but in my terimal all i seam get is this message but cant go on .
could someone help us out
many thx's
Mike
yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* updates: mirror.optus.net
* addons: mirror.optus.net
* extras: mirror.optus.net
Setting up Install Process
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All,
I am working through the ''depot'' sample application from the
"Pragmatic Programmers" book on my
powerbook. I was going through the install process on
http://hivelogic.com/articles/2005/12/01/
ruby_rails_lighttpd_mysql_tiger and it seemed to work fine.
But when I try to create the first table, I get the following error,
and I have no idea what this means.
Any
2006 Feb 05
8
Agile Rails book: depot problem
I recently finished the first part of the "Agile Rails" book. But, the
depot doesn''t completely work as it should. I still have 2 problems:
I will explain them in 2 threads.
The first one is:
I can''t destroy products (I can only creat and update them). When I try
to delete a product --> http://localhost:3001/admin/destroy/3
I get this error message:
2009 Sep 30
2
MySQL fails with tablespace on OCFS2
I have set up an cluster with ocfs2 on top of drbd in primary/primary mode.
As long as the datadir is in /var/lib/mysql, everything works fine.
But as soon as I put the datadir on the ocfs2 filesystem
/mnt/data/mysql
mysql fails with:
[Ubuntu] root at fs2:/etc# mysqld --safe-mode
090930 18:08:14 [Warning] Can't create test file
/mnt/data/mysql/fs2.lower-test
090930 18:08:14 [Warning]
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''
2009 Mar 23
0
MySQL ISAM can't start from OCFS2 filesystem
Hello friends,
I've got a strange problem with my cluster-setup.
I've got two nodes called www1 and www2 running Ubuntu Linux 8.10.
The have a 50G volume which is replicated in primary/primary mode with
DRBD.
On this volume there is an OCSF2 filesystem with this two nodes.
Everything is working really fine, files are perfectly mirrored, really
nice.
On one of the
2006 Jul 20
3
Instant Rails not finding database
Hey there
I''ve got instant rails installed, and it''s phpmyadmin can find the
database at the ascribed mysql port (3210)
...however, altho i have got my ''depot_development'' db in there (along
with the other dbs that ship with instant rails)... the rake script from
the instant rails command interface cant find ''depot_development''.
Looking at
2006 May 06
4
Scaffold Uses Wrong Host for MySQL user
I''m following the example Depot app in Agile Web Development with Rails.
The scaffold fails because it is not using the correct host for the
user. Here is the error that the scaffold emits:
Access denied for user ''jimmy''@''%'' to database ''depot_development''
The MySql user ''jimmy'' was created with the host of
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People,
I''m looking at the migrate example on p 74 of the rails2.pdf
It''s a simple example of using a migration to add a column to
the products table.
Here is a copy of the migration file named 002_add_price.rb
after I generated and then edited it:
class AddPrice < ActiveRecord::Migration
def self.up
add_column :products, :price, :decimal, :precision => 8, :scale
2012 Aug 01
0
Issues with some modules !!!
Hi,
I am new to puppet and have started evaluating various features in last few
days. I am not a developer and am mostly going to use the modules available
on github or puppet forge.
Currently I have tried all easier modules and they seem to work perfectly
without any issues, but now the problem is arising when I am trying to use
modules like mysql, tomcat etc...
For mysql I am using the module