al Mailing List
>>>>> For list archives: http://lists.mysql.com/mysql
>>>>> To unsubscribe:http://lists.mysql.com/mysql
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Notice: This communication may contain privileged and/or confidential
>>>> information. If you are not the intended recipient, please notify the
>>>> sender by email, and immediately delete the message and any attachments
>>>> without copying or disclosing them. LBI may, for any reason, intercept,
>>>> access, use, and disclose any information that is communicated by or
>>>> through, or which is stored on, its networks, applications, services,
>>>> and devices.
>>>>
>>>
>>> --
>>> Andy Wallace
>>> iHOUSEweb, Inc.
>>> awall...@ihouseweb.com
>>> (866) 645-7700 ext 219
>>> --
>>> "Sometimes it pays to stay in bed on Monday, rather than spending the
>>> rest of the week debugging Monday's code."
>>> - Christopher Thompson
>>>
>>> --
>>> MySQL General Mailing List
>>> For list archives: http://lists.mysql.com/mysql
>>> To unsubscribe:http://lists.mysql.com/mysql
>>>
>>
>>
>>
>>
>> Notice: This communication may contain privileged and/or confidential
>> information. If you are not the intended recipient, please notify the sender
>> by email, and immediately delete the message and any attachments without
>> copying or disclosing them. LBI may, for any reason, intercept, access, use,
>> and disclose any information that is communicated by or through, or which is
>> stored on, its networks, applications, services, and devices.
>>
>
> --
> Andy Wallace
> iHOUSEweb, Inc.
> awall...@ihouseweb.com
> (866) 645-7700 ext 219
> --
> "Sometimes it pays to stay in bed on Monday, rather than spending the rest
> of the week debugging Monday's code."
> - Christopher Thompson
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql
estarting the MySQL engine? I'm willing to do that,
>> but would much
>> rather wait and not do it in the middle of the day.
>>
>> Thanks,
>> Andy
>>
>>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql
ow which test suites in "t" directory are valid for
> --extern option? Without knowing this, I cannot judge whether a test fails
> is because it's not supported or "real" problems.
>
> Thanks a lot!
> Tianyin
>
> --
> Tianyin XU,
> http://csew
to also store
>> a MYD file
>
> simple answer: NO
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql
lain about the directives in the configuration file?
>
> Thanks a lot!
>
> Happy Thanksgiving!!
> Tianyin
>
>
>
> On Fri, Nov 23, 2012 at 4:20 PM, Eric Bergen wrote:
>>
>> Anger and OS religious arguments the real answer is that is just how
>> the option par
e to figure
> it out. Maybe simply because all the other servers I used like PostgreSQL,
> httpd, etc are case insensitive. That's the whole story, and that's why I
> ask on the forum, being curious about the reason.
>
> It's fine that you told me it's simply beca
Of course I could build the
> statements in the java code, but I thought mysql might offer that or at
> least
> parts of it. Does anybody have an idea?
> Thanks,
> Stefan
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:h
be:http://lists.mysql.com/mysql
>>
>>
>
>
> --
> Senior MySQL Developer @ Taobao.com
>
> Mobile Phone: +86 18658156856 (Hangzhou)
> Gtalk: penglixun(at)gmail.com
> Twitter: http://www.twitter.com/plinux
> Blog: http://www.penglixun.com
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql
m's reliability and robustness? Do the tools
> help to deal with fail over?
>
> W.
>
> --
> Wes Modes
> Systems Designer, Developer, and Administrator
> University Library ITS
> University of California, Santa Cruz
>
>
> --
> MySQL General Mailing List
&
> hours. You can reset the timeouts interactivly by entering at the
>>> > mysql prompt:
>>> >
>>> > set global wait_timeout=
>>> >
>>> > You can do the same for the interactive_timeout.
>>> >
>>> > Setting these
ll probably compress that a factor 10 or better. Simply use bzcat to
> pipe the file back into the MySQL client to restore.
>
>
>
>
> That's pretty nice & What I am expected to hear.
>
> I will let u know after some practical implementation.
>
> Thanks &
t
> in this email, the company cannot accept responsibility for any loss or
> damage arising from the use of this email or attachments.
> This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
>
> --
> MySQL General Mailing List
> For list archives: http://list
There isn't a built in way but you can try
http://www.mysqludf.org/lib_mysqludf_preg/
I would go with the php/perl script if this is a one time thing.
-Eric
On Jan 21, 2011, at 11:31 AM, Phil wrote:
> I have a table which contains a username column which may be constructed
> something like
>
e.
> 2. can we store table on specific tablespace like Oracle or DB2 when creating
> table?
You can only choose to store a table in it's own tablespace or in the
global one.
> Many thanks.
>
>
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MyS
27;;
> Though, it doesn't work?!?
>
> Thanks.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.co
://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
> Check the data before creating the indexes to make sure the same number of
>> rows have been copied over and the data is in the correct columns.
>>
>>
>>
>>> # Add back indices in one command (for max speed)
>>>
>>> ALTER TABLE the_table_clone \
>>> ADD INDEX IX_the_table_on_col2_col3 (col2,col3),\
>>> ADD INDEX IX_the_table_on_col4_col6 (col4,col6),\
>>> ADD INDEX IX_the_table_on_col5_col2 (col5,col2),\
>>> MODIFY id INT SIGNED AUTO_INCREMENT,\
>>> ADD PRIMARY KEY(col1);
>>
>> Correct.
>>
>> Mike
>>
>>
>>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Google oom_adj and oom_score. You can control which process is most
likely to be killed.
On Mon, Apr 19, 2010 at 12:53 AM, Johan De Meersman wrote:
>
>
> On Sun, Apr 18, 2010 at 9:04 PM, Eric Bergen wrote:
>>
>> Usually I prefer to have linux kill processes rather than ex
knows five or six more things
> than someone who hasn't.
> -- Mark Twain
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
ists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
010 at 12:13 PM, Rob Wultsch wrote:
> On Sun, Apr 18, 2010 at 12:04 PM, Eric Bergen wrote:
>> Linux will normally swap out a few pages of rarely used memory so it's
>> a good idea to have some swap around. 2G seems excessive though.
>> Usually I prefer to have linux kill proc
overcommit off.
>
>
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
r list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
her this setting is safe, and if so on
> what major versions?
>
> --
> Rob Wultsch
> wult...@gmail.com
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
&
think I have done everything needed to change MySQL data directory.
>>
>> Why am I still getting this error? Where can I start to look for
>> the causes?
>>
>> Thanks.
>>
>> Jia
>>
>> --
>> MySQL General Mailing List
>&
stop. I'm
>> > pretty sure you could
>> > > create a "tired of waiting" button for the user, but I
>> > haven't done it
>> > > myself.
>> > >
>> > > Regards,
>> > >
>> > > Jerry Schwartz
). That should flush your OS cache. The guaranteed
> way would be to dismount then remount your filesystem, but that could be
> difficult depending on how many other processes are using it..
>
> --
> Dan Nelson
> dnel...@allantgroup.com
>
> --
> MySQL Gene
>> someone please tell me if the following terms mean the same thing or, if
>> not, what is the difference:
>>
>> master-master replication
>> dual-master replication
>> bidirectional replication
>>
>> TIA
>> -BT
>>
>>
>
>
> -
tion for me now .. i have to go with 4.1
> at this point ..
>
>
> A.Alagarsamy
>
>
> Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition *
> Click here!
--
Eric Bergen
eric.ber...@gmail.com
http://www.ebergen.net
ely by replying to this message and deleting it and all
> copies and backups thereof. Thank you.
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
>
--
Eric Bergen
eric.ber...@provenscaling.com
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
allow the server to reallocate those resources to handling the
> commands for the live (and not idle) connections.
>
> For additional reasons for these errors, please peruse:
> http://dev.mysql.com/doc/refman/5.0/en/communication-errors.html
>
> Warmest regards,
>
> --
> Shawn Green, MySQL Senior Support Engineer
> Sun Microsystems, Inc.
> Office: Blountville, TN
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com
>
--
Eric Bergen
eric.ber...@provenscaling.com
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
es to a transaction log immediately, then trickle out the actual
> key block updates over time. If you want to try out mysql 6.0, the maria
> engine is basically MyISAM with logging.
>
> --
> Dan Nelson
> dnel...@allantgroup.com
>
--
Eric Bergen
eric.ber...@provenscaling.com
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Hi Nipuna,
InnoDB can be disabled with the skip-innodb option. MyISAM can't
really be disabled because it's required to read the grant tables.
-Eric
On Sat, Dec 27, 2008 at 4:21 AM, Nipuna Perera wrote:
> Hi All,
>
> I'm using mysql-cluster-gpl-6.2.15 for create DB cluster in our server
> machi
If you still want it you can download it from the Proven Scaling mirror.
http://mirror.provenscaling.com/mysql/community/source/4.0/
-Eric
On Thu, Nov 6, 2008 at 1:58 AM, Joerg Bruehe <[EMAIL PROTECTED]> wrote:
> Hi!
>
>
> Moon's Father wrote:
>> Hi.
>>Where can I download a mysql 4.0.12? I
Shaun,
Purge master logs is available in 4.0 it just doesn't have the
"before" key word. It should be trivial to write a script that decides
which log file to purge based on the mtime.
-Eric
On Thu, Jul 10, 2008 at 12:15 PM, Shaun Adams <[EMAIL PROTECTED]> wrote:
> I'm running a RHEL 4.1 and MyS
Hi,
It's true that MyISAM keeps two files descriptors open per open table
but this is MyISAM specific. An open table in MySQL isn't a one to one
mapping to file descriptors, it's simply a c++ object. It's up to the
storage engine how it manages file descriptors. Engines can use worker
threads with
Can you send us the exact zabbix error?
On Sun, Apr 27, 2008 at 6:18 PM, Sergio Belkin <[EMAIL PROTECTED]> wrote:
> So anyone had ever had any problem with database cache? :)
>
> 2008/4/25 Sergio Belkin <[EMAIL PROTECTED]>:
>
>
> > Hi, I am using zabbix (monitoring software) with mysql. zabbix go
Victor,
Please give us an example with the python removed and include the
actual syntax error.
-Eric
On Fri, Apr 18, 2008 at 8:41 AM, Victor Subervi <[EMAIL PROTECTED]> wrote:
> Hi;
> The python code works properly, so I assume this is a strictly MySQL
> question now :)
> If I grab an image
TCP checksums aren't as strong as encryption. It's rare but corruption
can happen.
Where are you reading the positions from and how are you taking the
snapshot to restore the slave?
On Mon, Apr 21, 2008 at 12:30 AM, Jan Kirchhoff <[EMAIL PROTECTED]> wrote:
> Eric Bergen sc
Nicole,
The tables left open warning is from the tables that were left open
when the server was rebooted. Internally mysql keeps a counter per
table of the number of clients that have a table open. When a table is
closed this counter is decremented. If mysql is improperly shutdown
this counter doe
Hi Jan,
You have two separate issues here. First the issue with the link
between the external slave and the master. Running mysql through
something like stunnel may help with the connection and data loss
issues.
The second problem is that your slave is corrupt. Duplicate key errors
are sometimes
I don't see what the issue is. As Jay said the row counts in explain
outputs are estimates. When running an explain query MySQL asks the
storage engine how many rows it thinks are between a set of values for
an index. Different storage engines use different methods to calculate
row count. Both inno
You can set the skip-innodb option in my.cnf
-Eric
On Tue, Apr 1, 2008 at 9:28 PM, Ananda Kumar <[EMAIL PROTECTED]> wrote:
> Hi All,
> We have a linux box running debain, with 8 cpu and 8 GB RAM, we want only
> myisam engine to be running on this.
>
> So, should i not setup any innodb paramete
Oops. I was wrong on that one. max_user_connections is different from
global max_connections and max_connections per user.
2008/3/31 Eric Bergen <[EMAIL PROTECTED]>:
> You probably only want max_connections and not max_user_connections.
> Max_user_connections is the number of time
You probably only want max_connections and not max_user_connections.
Max_user_connections is the number of times a user can connect per
hour..
-Eric
2008/3/31 Vidal Garza <[EMAIL PROTECTED]>:
> Velen escribió:
>
>
> > Hi,
> >
> > How can i limit connections to my database?
> >
> > Regards,
>
I think a better question is why do you have one database per user?
-Eric
On 2/2/08, imad <[EMAIL PROTECTED]> wrote:
> I am not connecting through MySQL. I am connecting through PHP. How
> can I speed it up?
>
>
>
>
> On Feb 3, 2008 12:20 AM, Saravanan <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > w
a real date available for an official
> release?
>
>
>
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
rom=rss>
> &from=rss
>
> <http://www.linux.com/feature/118489>
> http://www.linux.com/feature/118489
>
> ÐÆ5ÏÐ
>
>
>
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
für clevere Doppel-Sparer,
nur 39,85 € inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.prove
ump of a replication slave and have
that dumpfile contain the master data for the master server?
-- Cos
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
ht
ng that requires mounted disk
7. Does not address scaling or performance
8. OS Limitations – Some only run on Linux
May someone elaborate or disprove those points?
Thanks.
--
Regards,
Mohd Irwan Jamaluddin
Web: http://www.irwan.name/
Blog: http://blog.irwan.name/
--
Eric Bergen
[EMAIL
: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
TECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
nk you.
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
d
http://mail.yahoo.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/my
the same X
lock?
Any comment will be welcomed?
Best regards,
Leo Huang
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL Gener
be:http://lists.mysql.com/[EMAIL PROTECTED]
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
gt; 3. For remote access if I setup % in the host as I have done in the past
> that should allow me to login both remotely & to localhost right?
> ( again this works perfectly on my older box)
>
>
> Hope this makes sense.
>
> Thanks,
>
> Joey
>
>
>
>
--
MySQL G
I add skip-innodb in my.cnf, it startsup but my innodb tables could not
be accessed.
How can I start MySQL server again?
--
Sincerely,
Hadi Rastgou
A Google Account is the key that unlocks the world of Google.
http://www.spreadfirefox.com/?q=affiliates&id=0&t=1";> Get
Firefox!
nt that virus or
other forms of data corruption may not be present and we do not take any
responsibility in any occurrence.
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
somebody try to explain, how I can investigate, who's blocking the
line ?
--
Eric Bergen
[EMAIL PROTECTED]
http://www.provenscaling.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
UDF able to refer back to it everytime it is run.
I know I could read a file in the _init function, but this seems very
wasteful to read a file every time the function is being used.
Any thoughts on this would be appreciated.
thanks,
Yong.
--
Eric Bergen
[EMAIL PROTECTED]
http:/
>
>
> -
> Yahoo! Photos
> Got holiday prints? See all the ways to get quality prints in your hands
> ASAP.
>
--
Eric Bergen
[EMAIL PROTECTED]
http://www.ebergen.net
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
y, is there a way to tell if a table has been corrupted? We're having some
> weird things happening and the only thing I can think of is possible
> corruption of a table, but is there anything you can do to find out?
>
> Jenifer
>
>
--
Eric Bergen
[EMAIL PROTECTED]
Is the box swapping?
Gleb Paharenko wrote:
Hello.
As was mentioned by other members without seeing your configuration
settings it is difficult to say about InnoDB performance. You can
indirectly monitor the OPTIMIZE speed by ROW OPERATIONS section of SHOW
INNODB STATUS. For InnoDB it maps to A
I believe that some time in the future mysql will support oracle style
connect by prior syntax but it's not implemented yet.
Gleb Paharenko wrote:
Hello.
Though I haven't read this article, but its title looks promicing:
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
MySQL 4.1.14 is the current version. You should always upgrade to the
lastest release and test your problem before trying to report bugs.
Ben Clewett wrote:
Dear MySQL,
My MySQL 4.1.9 has lost the ability to work out what IP address
clients are connecting from. Eg:
$ mysqladmin processl
Try running a flush tables in mysql to make sure that mysqld knows about
all the tables on disk.
xtcsuk wrote:
Running the command:
Drop table if exists table1
complaints of table1 does not exist (Error: 1051).
However, if table1 is swapped with another table, irrespective of its
existence it
"packet too big" errors in replication are often a sign of corrupt
binary logs. If it's on a slave reading the relay log
often times flushing it will temporarily solve the problem. The easiest
way to flush the relay logs is to do a slave stop; change master to back
to the current file name and p
It appears that mysqld is not listening on /tmp/mysql.sock.
Log into mysql and run show variables like 'socket';
This will tell you where mysqld is actually listening for socket
connections.
Then update your my.cnf files so they all have the same sock file
location as the
one that mysqld is li
When you add that index are more than 30% of the rows in the table
DateTimeNext>1126215680?
Dan Baker wrote:
I have lots of tables that are similar in nature:
id int(11) PRI NULL auto_increment
Name varchar(30)
DateTimeNext int(11)
The "DateTimeNext" field represents when this records needs
This does make his code fall under the limitations of unix timestamps.
In 30 years or so when we are all retired millionaires ;) some poor
intern is going to have to figure out why the hour diff calculation is
failing.
[EMAIL PROTECTED] wrote:
Gyurasits Zoltán <[EMAIL PROTECTED]> wrote on 0
Try this:
concat('UP', lpad(category_id, 6, '0'));
Scott Purcell wrote:
Hello,
I have the following dilemma, that I do not know how to handle.
I have the need for a table where I create a identifier. The identifier consists of a two character string, eg: "UP" + the next "AUTO_INCREMENT"
Here
Can you send us the actual show indexes from table and explain output
that isn't shortend?
Ronan Lucio wrote:
Hello,
I´m using MySQL-4.1.7, and I have a query that seems,
even using where clause, an specific table isn´t being optimized
properly:
I have four tables:
real_state: cod, name, ci
Which version of mysql are you exporting from and inserting into?
[EMAIL PROTECTED] wrote:
Hi all,
I am trying to create a table on the remote server from a table I created on my local sever but it never seems to
work
CREATE TABLE `sheet1` (
`id` int(10) NOT NULL auto_increment,
`title` v
Please upgrade to the newest 4.0 mysql binaries.
Anil wrote:
Hi,
We are using mysql 4.0.20 on RHEL3.0 with circular replication setup A ->B
->C ->A . A is the master and all operations will be happening on A. We are
facing frequent mysql crash on Master with page corruption errors. How to
Could you accomplish this with an update and self join?
Ed Reed wrote:
Sorry, I thought it was easy to understand.
I wanna update a field in a table with a value from the same field but from a different record of the same table.
For example, using the query in my original message,
+
More queries yes but not more disk i/o. The first query will never touch
a disk.
[EMAIL PROTECTED] wrote:
Eric Bergen <[EMAIL PROTECTED]> wrote on 06/09/2005 12:56:59 PM:
How about something like this:
mysql> select @t := now();
+-+
|
How about something like this:
mysql> select @t := now();
+-+
| @t := now() |
+-+
| 2005-06-09 09:55:49 |
+-+
1 row in set (0.00 sec)
mysql> insert delayed into t set t = @t;
Query OK, 1 row affected (0.00 sec)
mysql> select *
It's not a bug at all. You just hit one of the features of enum :)
If you want to order alphabetically as you describe cast the enum name
to a string like this
select col from t order by concat(my_enum);
-Eric
Daevid Vincent wrote:
Please tell me there is a way to fix this "bug" in mysql V
There is an option starting in 4.0.14 called read-only that will allow
only the slave i/o thread and users with the super priv to execute write
queries.
Jeremiah Gowdy wrote:
Is there a way to make MySQL Slaves read only in regards to all UPDATE, INSERT,
DELETE, DROP, TRUNCATE, etc, except
you please elaborate
it a little more on why? Thanks a lot!
Qunfeng
At 01:05 PM 5/27/2005, Eric Bergen wrote:
Did you shut down mysqld or read lock before copying the table?
Qunfeng wrote:
Hi,
I am running MySQL 4.1.8-Max-log on two Linux machine (machine A and
machine B). In the past, I do a
I'm working on a set of UDFs for preg functions.
[EMAIL PROTECTED] wrote:
I have a hard time figuring out when you would use such a function. I do
not believe you will be able to duplicate this behavior without
constructing your own UDF or by writing a stored procedure. BTW, why *do*
you wan
Did you shut down mysqld or read lock before copying the table?
Qunfeng wrote:
Hi,
I am running MySQL 4.1.8-Max-log on two Linux machine (machine A and
machine B). In the past, I do a simple scp to transfer all the
database table file from one machine (A) to the other (B). After the
transf
It's 32 bit. I'm not sure if it's signed or not but chances are you
don't need more than 2 billion ids :)
Richard Lynch wrote:
On Wed, May 25, 2005 11:59 pm, David said:
Does anyone know what the range for server-id can be?
Is it a 16 bit number? 32 bit?
I can't seem to find it in the do
Also try running the delete more frequently. It won't cause much of a
lock if there is an index on accountcode and mysql doesn't find any rows
to delete.
gerald_clark wrote:
Matthew Simpson wrote:
I use Mysql to store call detail records from telephone calls. I
have around 20 voice switches th
When mysql "had trouble starting up" what error messages did it give in
the .err file in the datadir?
-Eric
James Tu wrote:
I had to migrate from 4.0.11 to 4.1.12. I saved the data directory from the
older version. I also exported all the information using phpMyAdmin's export
tool. I have one h
select count(*) table; gives me a syntax error in 4.0 and 4.1 so I'm not
sure how that worked. Something similar would be select count(*) t;
which uses the shortcut alias syntax. It's the same as doing select
count(*) as t;
Simon Garner wrote:
[EMAIL PROTECTED] wrote:
I have a curious situation
in() can take millions of arguments. Up to max packet size. Try it :)
Dan Bolser wrote:
On Fri, 13 May 2005, Eric Bergen wrote:
Even better is if you have an integer primary key (think auto_increment)
and use in()
So if you want 10 random rows in your app generate 20 or so random
numbers and
select count(*) from table is the fastest for myisam because it caches
row count. This will also include any rows that have null values.
select count(col) from table will not count rows where that column is
null and will also be forced to access the index or data file.
-Eric
Brian Dunning wrote
Even better is if you have an integer primary key (think auto_increment)
and use in()
So if you want 10 random rows in your app generate 20 or so random
numbers and do something like
select col1, from t where x in (1, 5, 3, 2...) limit 10
check num rows and if you don't get enough generate more
Sorry, mysql doesn't support sub queries until version 4.1
-Eric
Scott Purcell wrote:
Hello,
I am accustomed to Oracle query syntax, and I am having trouble with this
following query which uses the IN. I am running mysql ( Ver 12.21 Distrib
4.0.15, for Win95/Win98 (i32) ) which does not support t
I agree. It sounds like you could use plain repeatable read isolation
transactions. If someone else is modifying those rows you get an older
version from when your transaction was started. No need for skipping
anything.
Martijn Tonies wrote:
I am using InnoDB only.
But, it's not skipping locke
Is there a reason you can't run mysqldump on the server? You could then
gzip it and use any transport method with throttling you want (like wget)
-Eric
Aaron Wohl wrote:
http://www.birdsoft.demon.co.uk/proglib/slowpipe.htm would seem to do
what you want... I havent tried it yet, but noted the URL
manner.
>
> Thank u and Regards,
> Ashok Kumar.P.S
>
>
> -
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour
>
--
Eric Bergen
[EMAIL PROTECTED]
http://www.ebergen.net
--
MySQL General Mailing List
For list archives
It sounds like you should be doing the link preservation and number
update part in php or perl.
Neculai Macarie wrote:
Not that I'm aware of. What type of conversions are you doing that you
need 30,000 use vars? An easy solution would be to try it and find out
:)
I need to move multi
Use one big table. A merge table will run the same query over all 10
tables. The key buffer is filled from the top down so if you have a key
buffer that looks like this:
a
/ \
/\
b c
/ \/ \
de fg
Almos
The default timestamp display format changed between mysql 4.0 and 4.1
The easy fix is to add + 0 to all timestamp fields in selects. Like
this: select my_ts + 0 from t;
You should always read the upgrade notes in the manual. This is very well
documented:
http://dev.mysql.com/doc/mysql/en/upgradin
Not that I'm aware of. What type of conversions are you doing that you
need 30,000 use vars? An easy solution would be to try it and find out :)
-Eric
Neculai Macarie wrote:
Hi!
What is the maximum number of user variables that I can have in MySQL ? (I
need to transfer a application from one serv
I think matt is thinking more automagically like having upper() called
on a column on insert for him instead of putting it into every query.
You can't do this yet. sorry.
-Eric
Jay Blanchard wrote:
[snip]
Can I setup a table so that no matter how data is entered into it (web
form,
command line)
1 - 100 of 199 matches
Mail list logo