to do it for you?
http://forge.mysql.com/wiki/MySQL_Proxy
Combine this with haproxy and you could build a multi-master environment
with each master having any number of slaves. Set MySQL Proxy to send
writes to the masters and reads to the slaves.
Regards
Ian
--
On 4/2/2012 2:25 PM, shawn
://in.yahoo.com/
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
recommend to me the best/preferred MySQL database engine to use for
example MyISAM ?
Also, in your experiences, do you recommend that SELECT statements
containing a number of INNER JOINS should be execute from a Stored procedure
or purely from the webpage ?
Cheers
Neil
--
Ian Simpson
Hi Vikram,
As far as I know it's just table names: I think it's related to the fact
that the Windows file system is case-insensitive, while Linux
filesystems generally are not.
On Thu, 2010-03-18 at 15:18 +0530, Vikram A wrote:
Hello Ian Simpson,
Thank you for reply. We defined table names
operation or one time for each record that is
deleted?
Thanks,
Randall Price
--
Bier met grenadyn
Is als mosterd by den wyn
Sy die't drinkt, is eene kwezel
Hy die't drinkt, is ras een ezel
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
need it or can
I safely remove this account? I don't understand why it's there. I
don't want to break MySQL even though there is no data or databases on
this machine but I would like to keep this as clean as possible.
Thanks for any input.
-Carlos
--
Ian Simpson
System Administrator
ideas as to whats wrong. I know its something simple, I just cant put my
finger on it.
Thanks in advance,
Ian
Hi,
Thanks, I just checked and it was a memcache that was caching the output.
See I knew it was a simple solution ;)
Thanks for the effort everyone and sorry for wasting time.
Regards
Ian
2009/12/17 Aleksandar Bradaric leann...@gmail.com
Hi Ian,
Why do you think something's wrong? Here
LEFT JOIN article_views
ON article_views.article_id = articles.id WHERE ( date = '2009-10-07' AND
date = '2009-10-01') GROUP BY article_id
Any help would be greatly appreciated.
Thanks
Ian
articles eq_ref PRIMARY PRIMARY 8
database.article_views.article_id 1 Using where
No difference :/
And I used the query below so its only 1 week and not the 2-3 weeks in the
table.
Thanks anyway :)
Ian
2009/10/9 Daevid Vincent dae...@daevid.com
ALTER TABLE articles ADD INDEX date_idx (date
Projects.Boss_ID = People.ID as Boss_Name,
Name from People where Projects.Admin_ID = People.ID as Admin_Name,
Name from People where Projects.Assistant_ID = People.ID as
Assistant_Name
I know that syntax isn't right but I'm not sure where to go.
--
Ian Simpson
System Administrator
MyJobGroup
...@butterflysystems.co.uk
Certified MySQL 5 Database Administrator (CMDBA)
Certified MySQL 5 Developer
Cognos BI Developer
---
Sent from HP IPAQ mobile device.
-Original Message-
From: Ian Simpson i...@it.myjobgroup.co.uk
Sent: Monday, September 07, 2009
-table SELECT statments are allowed only if MySQL will
examine no more than 1,000,000 rows to process the query.
The --i-am-a-dummy option is a synonym for --safe-updates. :)
Gluck
Darren
On Tue, Sep 8, 2009 at 10:25 AM, Ian Simpson i...@it.myjobgroup.co.uk
wrote:
Thanks John
to experiment with them without advice,
in case one of them disables networking or something similar.
Hoping someone can help with this.
Thanks
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=jlyons4...@gmail.com
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
...
mysqldump: Got error: 1044: Access denied for user 'dip'@'152.20.1.%' to
database 'dip' when doing LOCK TABLES
Thanks,
Krishna Chandra Prajapati
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe
2009/3/29 Oscar ro4...@gmail.com:
Hi all-
I want to know what the difference between IN and OR is under the hood.
select * from dummy_table where id in (2, 3, 4, 5, 6, 7);
select * from dummy_table where id=2 or id=3 or id=4 or id=5 or id=6 or
id=7;
I've have thought once the query is
on
5.1.30, but not on 5.0.37.
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
No greater injury can be done to any youth than to let him feel that
because he belongs to this or that race he will be advanced in life
regardless of his own merits or efforts. - Booker T. Washington
--
Ian
three times. You should be ok as you are specifying
a name for the constraint, and it checks for unique names.
On Fri, 2009-01-02 at 06:03 -0500, Lola J. Lee Beno wrote:
Ian Simpson wrote:
If you want deletes to be blocked, then you shouldn't be using ON DELETE
CASCADE; the default behaviour
2008/10/31 Moon's Father [EMAIL PROTECTED]
*A prepared statement is also global to the connection. If you create a
prepared statement within a stored routine, it is not deallocated when the
stored routine ends. *
Then I don't know how to deallocate the memory used by prepare statement
2008/10/21 Moon's Father [EMAIL PROTECTED]:
Could you please give me an idea of how to manage the privileges inside
mysql?
http://www.google.co.uk/search?q=mysql+grant
first hit :)
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
key_len: 34
ref:
rows: 28717165
Extra: Using filesort
2 rows in set (0.02 sec)
Apparently, it's doing a full table scan over all 29 million records.
Whilst this query appears to run fast still, surly it's not right that
a full table scan is needed?
Thanks,
Ian
2008/10/17 dave aptiva [EMAIL PROTECTED]:
I tried SELECT ID_number, max( count( CU_number ) ) but this causes an error
# - Invalid use of group function
# sqlite3
SQLite version 3.5.9
Enter .help for instructions
sqlite create table moo (id_number, cu_number);
sqlite insert into moo(1,
2008/10/16 Krishna Chandra Prajapati [EMAIL PROTECTED]:
I believe that yahoo, google and other companies must be generating reports.
How they are doing. Any Idea.
This is how google do it: http://en.wikipedia.org/wiki/MapReduce
Have you seen federated tables? Be aware of the performance on
2008/10/17 Rob Wultsch [EMAIL PROTECTED]:
*How long does the second query actually take to run compared to first?
Actually, really quickly - so quickly that I also suspected that a
full table scan was not taking place. I'd like to understand how the
output of EXPLAIN can differ from the
2008/10/17 Brent Baisley [EMAIL PROTECTED]:
Why are you creating a subquery/derived table?
Just change your limit to 1,2
ORDER BY updates.AcctSessionTime DESC LIMIT 1,2
Because then the maths in the select part isn't executed, and I don't
get the figures I need.
--
MySQL General Mailing
2008/10/17 Rob Wultsch [EMAIL PROTECTED]:
On Fri, Oct 17, 2008 at 1:33 PM, Rene Fournier [EMAIL PROTECTED] wrote:
Okay, I realize that query won't work, but that's essentially want I want
to do:
Add four months to the current date, then return the first day of that
month, e.g.:
2008/10/17 Reyna.Sabina [EMAIL PROTECTED]:
Hi,
Running Environment:
MySQL Server version: 5.0.45
OS is Red-Hat 64-bit
The table 'junk' doesn't have a row with id=4. Two tests to trap 'errors'
using DELETE follows:
Perhaps I'm missing something - but a delete matching no rows is
.
Varuna
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
So we're using MySQL Embedded in Amarok, it works fine for most of us
that use 5.1, including myself. However the following backtrace is
from the second person to have this issue. Its repeatable, happens at
startup.
Is there something about how their MySQL is setup on their system that
could
On Fri, Sep 26, 2008 at 9:37 AM, Ian Monroe [EMAIL PROTECTED] wrote:
So we're using MySQL Embedded in Amarok, it works fine for most of us
that use 5.1, including myself. However the following backtrace is
from the second person to have this issue. Its repeatable, happens at
startup
just server, client) are incorrect
How could they be incorrect? I only vaguely get what they are for,
something about the config groups in my.cnf file.
Ian
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
On Fri, Sep 26, 2008 at 1:55 PM, Ian Monroe [EMAIL PROTECTED] wrote:
On Fri, Sep 26, 2008 at 9:37 AM, Ian Monroe [EMAIL PROTECTED] wrote:
So we're using MySQL Embedded in Amarok, it works fine for most of us
that use 5.1, including myself. However the following backtrace is
from the second
On Fri, Sep 26, 2008 at 4:15 PM, Dan Nelson [EMAIL PROTECTED] wrote:
In the last episode (Sep 26), Ian Monroe said:
On Fri, Sep 26, 2008 at 1:55 PM, Ian Monroe [EMAIL PROTECTED] wrote:
On Fri, Sep 26, 2008 at 9:37 AM, Ian Monroe [EMAIL PROTECTED] wrote:
So we're using MySQL Embedded
, stateID,
OperatingSystemID, internet_connectionTypeID, internetUserFrequencyID,
industryID, occupationID)...
ThanX in advance
Ben
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
I ask.
What are the rules for MyISAM and threads?
Any general thoughts on what backend to use for mysql embedded also
appreciated. We noticed that InnoDB seems to enjoy exit()ing on error
conditions (like disk full) which isn't very nice.
Ian
--
MySQL General Mailing List
For list archives
in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.6/1572 - Release Date: 7/25/2008
6:51 AM
--
Ian Simpson
System Administrator
MyJobGroup
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
in the password
and get the Access denied error again. What's going on? Why can't I get
this to work?
Jesse
--
Ian Simpson
System Administrator
MyJobGroup
This email may contain confidential information and is intended for the
recipient(s) only. If an addressing or transmission error has
? Or two?
Thanks,
Jeff
--
Ian Simpson
System Administrator
MyJobGroup
This email may contain confidential information and is intended for the
recipient(s) only. If an addressing or transmission error has misdirected this
email, please notify the author by replying to this email. If you
http://dev.mysql.com/doc/refman/5.0/en/delete.html
just search in the page for 'join' and you'll find the relevant section
On Tue, 2008-07-08 at 11:35 -0400, Jeff Mckeon wrote:
-Original Message-
From: Ian Simpson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 11:27 AM
typenumber
2008-06-15 1 4
2008-06-15 2 2
2008-06-16 1 2
2008-06-17 1 2
which is the data that you want in a different output format.
Thanks
On Mon, 2008-06-23 at 18:16 -0700, Grant Giddens wrote:
Ian,
Thanks for the help, this query worked
to reset that parameter so that the data can reflect
current without restarting the MySQL
Thanks in advance
..venu
--
Ian Simpson
System Administrator
MyJobGroup
This email may contain confidential information and is intended for the
recipient(s) only. If an addressing or transmission error has
auto_increment,
nbsp; `sales_date` datetime NOT NULL default '-00-00 00:00:00',
nbsp; `sales_type` tinyint(4) NOT NULL default '0',
nbsp; PRIMARY KEYnbsp; (`sales_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
--
-- Dumping data for table `sales_activity`
--
Ian Simpson
System
configuration of the two databases is identical, except for
the tablespace file size (the new server has a larger tablespace
defined), and the InnoDB logs (again, new server has larger logs).
Can anybody suggest an area of investigation as to the cause?
Thanks,
--
Ian Simpson
This email may contain
Value: 1
Variable_name: sync_binlog
Value: 0
Variable_name: innodb_locks_unsafe_for_binlog
Value: OFF
Thanks
--
Ian Simpson
On Fri, 2008-06-13 at 17:43 +0530, Alex Arul Lurthu wrote:
Please check if the my.cnf configurations to be the same.
What are your configuration
88.47 782.20 998.77 9046888130 11551757459
The new server, which is just trying to handle replication
Device:tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 77.83 1367.55 2914.72 358474084 764029986
Thanks,
--
Ian Simpson
for all your help
--
Ian Simpson
On Fri, 2008-06-13 at 10:40 -0400, Jerry Schwartz wrote:
Disk usage: the older server (the one that's running fine) is running
more transactions per second, but has lower blocks written and read per
second than the new server:
[JS] That, to me, suggests
that the older server is handling roughly the same data quantities, but
just using a much lower percentage of the drive's bandwidth.
I can't seem to find a tool which reports on exactly how much write
bandwidth a drive has; everything seems to focus on reading speed.
Thanks,
--
Ian Simpson
On Fri, 2008
of the bandwidth
it's using, and then doing a calculation with those numbers to get the
100% value, but I don't know if that's valid, since there are generally
a number of other operations going on at the same time.
Thanks
--
Ian Simpson
On Fri, 2008-06-13 at 08:48 -0700, Wm Mussatto wrote:
On Fri, June 13
Decided to run up2date -u
I noticed that our website was tossing off mysql errors. Quickly
realized that mysql was down. Went to restart but it couldn't find
mysqld_safe, mysqld, mysqladmin, etc.
I used locate and it couldn't find the binaries anywhere...it appears
that up2date -u had
Glyn Astill wrote:
I'd back up the data directories then try and then re-install mysql (sorry, I
know little about red hat and it's package management). It shouldn't overwrite
your data if it's already present anyway.
Great. Thought that would be the case, but without sleep, I wasn't sure.
Mark,
When you try to log-in to the new instance, are you specifying the new
port number to the client? If you don't give it the new port number,
then it will connect to the default port, which is presumably your
4.0.20 instance.
Mark-E wrote:
I have a Solaris box where MySQL 4.0.20
stops working.
Thanks
Ian
On Fri, Feb 29, 2008 at 5:46 PM, Vidal Garza [EMAIL PROTECTED] wrote:
Ian escribió:
Hi,
Okay, I have added that and will wait and see when it happens again if
there
is anything in that log. Just out of interest, does that log show
anything
different
.
Cheers
Ian
On Fri, Feb 29, 2008 at 12:43 PM, Sebastian Mendel [EMAIL PROTECTED]
wrote:
Ian schrieb:
Hi,
I am running mysql 5.0.45 on freebsd 4.11 and for some strange reason
/tmp/mysql.sock keeps on disappearing and we are forced to kill -9 mysql
and
restart it causing db corruptions
Hi,
I dont know about network, but I know using php we cant access anything in
MySQL once the file is gone. When it happens again, ill be sure to check
network.
Cheers
Ian
On Fri, Feb 29, 2008 at 12:54 PM, Sebastian Mendel [EMAIL PROTECTED]
wrote:
Ian schrieb:
Hi,
I wouldnt have thought
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
The machine in question is a dual xeon with 4gig of ram.
Any ideas?
Thanks in advance,
Ian
/my.cnf --basedir=/usr/local
--datadir=/var/db/mysql --user=mysql --pid-file=/var/db/mysql/hostname.pid
--port=3306 --socket=/tmp/mysql.sock --myisam-recover=BACKUP,FORCE
We could try that, but why would it behave differently to the current sh
script?
Thanks
Ian
On Thu, Feb 28, 2008 at 7:43 PM
Hi,
Okay, I have added that and will wait and see when it happens again if there
is anything in that log. Just out of interest, does that log show anything
different to the /var/db/mysql/hostnameofunit.err file ?
Cheers
Ian
On Thu, Feb 28, 2008 at 8:44 PM, Vidal Garza [EMAIL PROTECTED] wrote
Hi,
No, there is nothing in there cleaning /tmp. Mind you, further investigating
there are still some temp files in there from last year - so the directory
isnt getting wiped clean.
Thanks :)
On Fri, Feb 29, 2008 at 3:36 AM, Steve Bernacki [EMAIL PROTECTED]
wrote:
Does the system in question
the query's asking to find category numbers for categories
that contain the name, use those numbers to find the poster id's that
match those category numbers and then return the poster info.
Thanks for any insight.
--
Ian Evans
--
MySQL General Mailing List
For list archives: http
One of the list readers (thanks Brent!) suggested using a full text
index on the category names field. Queries dropped from 10-49 seconds
down to 0.0085
Thanks for the emails folks!
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
on each of the Apache servers
and
log directly to the central MySQL installation.
Regards
Ian
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
, in order for the data to be indexed by MySQL , it
has to be in
an unencrypted form somewhere in the database. There is no way I know to get
around
this, but I hope someone can correct me :)
Regards
Ian
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe
I'm trying to wrap my head around dealing with people in a table that
have multiple names or akas.
I run an entertainment news site and have to deal with people like
Pamela Anderson (who was once Pamela Lee, Pamela Anderson Lee, Pamela
Denise Anderson), Eva Longoria (who's now Eva Longoria
Hi All,
How do I create a mysql data dump from a slave to seed another slave?
Using --master-data with mysqldump from my existing slave sets the
master to the slave I was dumping, not the real master.
Many Thanks,
Ian
--
MySQL General Mailing List
For list archives: http://lists.mysql.com
with --low_priority_updates?
I think it is but want confirmation.
Cheers,
Ian.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
a query cache when using so many HANDLER ..
NEXT calls.
Again if so, is it recommended to set a small query_cache_limit.
--
Regards,
Ian Collins
Systems Manager
KIWIPLAN Group
Tel: +64 (0)9 2727622
Mob: +64 (0)21 761144
--
MySQL General Mailing List
For list archives: http://lists.mysql.com
(), CDbl(), CSng()
etc.
Hope this helps
Ian
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
will literally take days.
--
Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
Ian P. Christian wrote:
I upgraded my slave server a few weeks ago, and the slave failed, with
an error similar to the one shown below.
I have figured out what happened here now - and I'm part of the way
though fixing it.
It turned out the defaults had changed somewhere, and rather
these defaults changed on a minor mysql release update is beyond me,
however I suspect this is gentoo's fault, not MySQLs.
--
Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
doing this for some time, works fine.
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
limit to small numbers in the LIMIT, I/O gets too high, so
I'm moving data slowly in batches)
Thanks,
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
because any
new records would get included in the LIMIT.
Will it not always use the natural order of the table in
selects/deletes, and therefore return results in the order in which they
were inserted?
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http
* FROM
oldtable WHERE primarykey in ( your 50,000 keys ), then DELETE FROM
oldtable WHERE primarykey in ( your 50,000 keys ), then COMMIT, which
will cause your insertions and deletions to be truly atomic.
Ah of course - a far better idea.
Thanks :)
--
Ian P. Christian ~ http://pookey.co.uk
want to check if MySQLd is running, or if a database is still
accessible?
A monitoring system is called Nagios, its worth taking a look at it (it
can do both of the above described, but could be overkill if you only
want to check a single service)
http://nagios.org/
Bye, Ian
--
MySQL General
for HPUX kernel tuning with MySQL?
--
Regards,
Ian Collins
Systems Manager
KIWIPLAN Group
Tel: +64 (0)9 2727622
Mob: +64 (0)21 761144
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Hi!
I would start at:
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication.html
Bye,
Ian
Ananda Kumar said the following, On 16-Mar-07 11:04:
Hi All,
We are planing to develop and high available mysql db.
Can anybody please point me to any good documentation. Also how stable
Neil Tompkins wrote:
I'm looking to use MD5() to encrypt credit card numbers. How do I
unencrypt this when reading the value ?
you can't.
Google for MD5, or better still look at wikipedia, I'm sure they will
have something
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General
://forums.mysql.com/read.php?30,14020,14020
which honestly, I've not read - but you might want to :)
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
to never store the CVV number.
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
updates/s, 0.21 deletes/s, 48500.03 reads/s
Thanks again,
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Filip Krejci wrote:
Hi,
I suppose this is really I/O problem.
You're right, it looks like it was just an I/O problem - your suggestion
was spot on. I've now managed to dump my master data, and can get my
slave back online!
Thanks a lot for your suggestion,
--
Ian P. Christian ~ http
for 15 minutes whilst the dump
ran. As I'm sure you'll understand I'm not too keen on taking the
website down again.
Any suggestions as to why my database is stopping (could be I/O related
maybe? it's on a good RAID setup though), and what I could do about it?
Many Thanks,
--
Ian P
Marcus Bointon wrote:
Hi Marcus :)
On 7 Mar 2007, at 08:44, Ian P. Christian wrote:
--single-transaction doesn't _do_ the dump as a transaction, it simply
wraps the dump in begin/commit statements so it's atomic when restoring.
If the dump is to preserve relational integrity then it has
separating writes on
another box?
I did do this under the assumption it could simply be an I/O problem -
however the problem persists. It might be because the network
connection between the two hosts is pretty fast
Thanks Filip!
--
Ian P. Christian ~ http://pookey.co.uk
--
MySQL General Mailing
way that I can get it working without truncating the
data?
Thanks alot
Ian
those rows,
the space isnt freed up until we run the optimize. So my other question is
can we do an optimize a different way, or is there some way that we can
insert and delete rows that would require less optimization?
Thanks in advance,
Ian
on
dev.mysql.com for the exact syntax).
Create a symbolic link from the mysql.sock to the place where php expects to
find it:
ln -s /current/location/mysql.sock /new/location/mysql.sock
I consider the latter the best option as it wont break anything else that
depends on the
socket.
Regards
Ian
automated test suites that break
because of this).
Regards,
Ian Collins.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
else seen this?
Regards,
Ian Collins.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
the mysql -u root -p file.sql as well with no difference.
I actually got the database in by doing a split -b 1000 dumpfile
as I can edit a 10Mb file, but not a 10Gb one - and then joining them
back together - bit of a hack but it worked.
Strange.
Regards,
Ian.
Dan Buettner wrote:
Ian, those
of achieving this via the sql
query because the above is a hugely tedious way of doing it. I know mysql
has an if() statement, but I have no idea how to implement it using what i
want to achieve above.
Thanks in advance.
Ian
the list with an advert for McAfee!
Ian
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
to this problem is to start mysql, then create a symbolic
link in the
/tmp directory to the socket:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
This works on my systems, you may have to adjust to your own environment.
Regards
Ian
--
--
MySQL General Mailing List
For list archives: http
.. .FROM Results;
You need to escape the quotes in your statement.
Regards
Ian
--
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
, I need id to auto-increment and serverid to be set by something
that I specify depending on what file im importing.
Is this possible? Or would the best way be to import the dumped file into a
temp table and then select out of the temp table into my correct table ?
Thanks for any help!
Ian
Hi,
No unfortunately not...
Cheers
Ian
-Original Message-
From: John Meyer [mailto:[EMAIL PROTECTED]
Sent: 25 June 2006 05:41 PM
To: mysql@lists.mysql.com
Subject: Re: Re-importing a mysqldump file
Ian Barnes wrote:
Is this possible? Or would the best way be to import
|
++--+---+-+-+--+---+
--+
2 rows in set (0.00 sec)
I have put more RAM in (I now have 768Mb's, as well as 3Gig of SWAP).
Thanks for the suggestions!
Cheers
Ian
-Original Message-
From: mos [mailto:[EMAIL PROTECTED]
Sent: 09 June 2006 07:15 PM
To: mysql@lists.mysql.com
Subject
1 - 100 of 376 matches
Mail list logo