Displaying 20 results from an estimated 9000 matches similar to: "inserting utf8 value in unique column generates unexpected duplicate key error"
2007 Nov 30
0
Screwed Special Characters in an utf8 String Read From Database
Hello,
I have a mysql database with a InnoDB table in utf8_general_ci
encoding. Inside this table there is a column "path", varchar(255),
utf8_general_ci.
What I am trying to do now, is to use this path from the database to
look up a local file and transmit this file to the user. The problem
is, that my program is not able to open any files, that contain
special characters (e.g.
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 ~]#
2006 Jul 28
0
Dreamhost, fastcgi, validates_uniqueness_of.... is not always unique?
Hey everyone,
I have an application running on dreamhost with fast cgi (FCGI). I have a
model, "Member", that has the following validation:
validates_uniqueness_of :email, :if =>
Proc.new{|member| !member.email.blank?}
The :if clause is really not needed because an email address is required and
in fact the model also has:
validates_presence_of :email
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:
2010 Jun 03
0
circumflex key
Hello,
iam running wine within ubuntu 9.10. Some games are using the circumflex key which cannot be accessed within wine. how can i resolve this?
2006 May 24
0
HTMLEntities.decode_entities - problems with output
All,
I am trying to use the HTMLEntities library to translate HTML entities
into their character equivalents so that I can print a text version of
some HTML to a file.
However, I am having trouble understanding how to successfully emit the
converted text as a string without ending up with weird UTF-8 characters
in front of the converted characters.
Referencing the irb session below,
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>]
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
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]
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
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
2011 Feb 04
1
GlusterFS and MySQL Innodb Locking Issue
I'm having some problems getting two nodes to mount a shared gluster
volume where I have the MySQL data files stored. The databases are
Innodb. Creating the volume on the master server works fine and it
mounts, and when I mount that on the first mysql node it works fine,
too. However, when I try to mount it with the second node I get this
error:
InnoDB: Unable to lock ./ibdata1, error: 11
2006 Mar 21
3
Newbie - ActiveRecord relationships
So I''ve worked through Agile Web Development with Rails and I''m now
trying my first little app to get into the swing of things. Its a task
tracking app where people can create tasks and assign them to others,
and also log time against the tasks.
I''m having trouble working out the model relationships. This is what
I''ve got so far, but its not right as
2006 May 30
3
Help about CMS - newbie in RoR
Hi team, I''m a very newbie RoR user from Spain and I''m developing a
blog''s CMS. Why RoR?, coz I think it''s an amazing framework with many
posibilities, portable and really powerful, with a young and optimist
community, and taking my project I''ve prefered his structure in front of
LAMP. Another thing is that I''ve liked to surprise my masters
2005 Dec 18
1
lower case letters
with kde3 and Mandrake 2006
there is not grave, circumflex, acute on my wine
how change fonts in the window of program running with wine
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20051218/9d7660ee/attachment.htm
2003 Jun 04
1
[rfc idle thought] exclude pattern left anchor
A thought has been nagging me for a bit now so i'll run it
up the flagpole and see if anyone salutes.
There seems to be quite a bit of confusion regarding the use
of the leading slash as a top of tree anchor for exclude
patterns. The manpage seems clear enough to me but somehow
it doesn't seem to get through.
What if we allowed a leading circumflex (^) to serve the
same function. We
2010 Jul 29
1
Sweaving quotes
The significance code line to summary() applied to an lm() fitted model
object is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
The corresponding line in the LaTeX source produced by Sweave is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
which looks the same in my email (Thunderbird on a Vista machine), but
when I look at the file in WinEdt the quotes
2006 Aug 02
2
many-to-one relationship, do I need a second table?
Ok, to keep things short. Im wondering if I need a secondary
relationship table to handle my many-to-one relationships. Here is an
example of what I''ve written down. For instance say I want to find all
of the people in a given location.
class Location < AR:Base
has_many :people
end
class Person < AR:Base
belongs_to :location
end
My SQL tables look like:
CREATE TABLE
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do
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