Step-by-Step Tutorial: How to Setup Your Own e-Commerce Online Store using WooCommerce 3.4.5, Wordpress 4.9.8, and CentOS 1805 (LAMP) in Amazon AWS Cloud

2018-09-28 Thread Turritopsis Dohrnii Teo En Ming
Good morning from Singapore, You can read my step-by-step tutorial on How to Setup Your Own e-Commerce Online Store using WooCommerce 3.4.5, Wordpress 4.9.8, and CentOS 1805 (LAMP) in Amazon AWS Cloud at any one of my two redundant blogs. My blogs were configured in RAID 1 mirroring array

Re: how to select the record with one sql statement?

2018-08-18 Thread shawn l.green
y for num_of_day); expecting the output: certain_day, pigId;from certain_day, pigId'weight increasing continuously for num_of_day. How to select the records in one sql statement? thanks I've thought about this a bit (since your question appeared on the list) and I break dow

how to select the record with one sql statement?

2018-08-13 Thread sea
from certain_day, pigId'weight increasing continuously for num_of_day. How to select the records in one sql statement? thanks

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-21 Thread Johan De Meersman
The exception is mysql, the MySQL Command-Line >>> >>> Tool. When I execute a SELECT statement to see rows in a table >>> >>> containing the Venus and Mars Unicode characters, here is what I >see >>> >>> on the screen: >>> >>> >>> &g

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-20 Thread Roger House
a SELECT statement to see rows in a table >>> containing the Venus and Mars Unicode characters, here is what I see >>> on the screen: >>> >>> || Venus | ♀ | | Mars | ♂ | | >>> >>> What I should see in the right column are the standard glyphs for

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-15 Thread Roger House
> containing the Venus and Mars Unicode characters, here is what I see >>> on the screen: >>> >>> || Venus | ♀ | | Mars | ♂ | | >>> >>> What I should see in the right column are the standard glyphs for >>> Venus and Mars. >>> &

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-15 Thread shawn l.green
aracters, here is what I see >>> on the screen: >>> >>> || Venus | ♀ | | Mars | ♂ | | >>> >>> What I should see in the right column are the standard glyphs for >>> Venus and Mars. >>> >>> Any ideas about how to get the MySQL Com

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-13 Thread Roger House
see on the screen: || Venus | ♀ | | Mars | ♂ | | What I should see in the right column are the standard glyphs for Venus and Mars. Any ideas about how to get the MySQL Command-Line Tool to display Unicode properly? what operating system what terminal all recent Linux systems have UTF8

Re: How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-13 Thread Reindl Harald
rows in a table containing the Venus and Mars Unicode characters, here is what I see on the screen: || Venus | ♀ | | Mars | ♂ | | What I should see in the right column are the standard glyphs for Venus and Mars. Any ideas about how to get the MySQL Command-Line Tool to display Unicode

How to get the MySQL Command-Line Tool to display Unicode properly?

2018-03-13 Thread Roger House
Five months ago I posted the query shown below on StackOverflow.  I got one reply which was not of much help.  So I am trying again, hoping a more MySQL-centric forum might be able to solve my problem. Roger House How to get the MySQL Command-Line Tool to display Unicode properly? I use a

Re: How to get the MySQL Command-Line Tool to display Unicode properly

2017-10-19 Thread Hal.sz S.ndor
2017/10/18 18:32 ... Roger House: I get the same behavior with the MySQL Command Line Tool when I run it on Windows, Mac OS X, and Ubuntu, so I'm pretty sure the problem has to do with mysql itself. What do you know about the displays to which the client is writing? In the case of "cmd" under

How to get the MySQL Command-Line Tool to display Unicode properly

2017-10-18 Thread Roger House
    | ♂  | I get the same behavior with the MySQL Command Line Tool when I run it on Windows, Mac OS X, and Ubuntu, so I'm pretty sure the problem has to do with mysql itself. Any ideas about how to get the MySQL Command-Line Tool to display Unicode properly? -- MySQL General M

Re: How to get auto Increment ID of INSERT?

2015-10-08 Thread Carsten Pedersen
LAST_INSERT_ID() returns the latest ID for the current connection. As long as you yourself can guarantee that no other queries are executed using that connection, you're fine. If another record others is inserted using another connection, that connection will return a different LAST_INSERT_ID()

How to get auto Increment ID of INSERT?

2015-10-08 Thread Richard Reina
If I insert a record into a table with an auto increment ID how can I get that records ID value? I have read about SELECT LAST_INSERT_ID() statement, however, do not two statements introduce the risk that another insert may occur in the interum? Is there a full proof way of getting the ID of the re

Re: How to change character sets in InnoDB as fast as possible

2015-03-23 Thread Rik
Yes, normally convert from latin1 to binary, and from binary to utf8 (which would also be the recipe to convert actual utf8 data which accidentally ended up in latin1 columns to the proper definition without changing the content). I would not know why that would take overly long for you. An altern

How to change character sets in InnoDB as fast as possible

2015-03-23 Thread Thomas Baumann
Hi there, I am looking for a way to convert about 40GB of InnoDB tables from latin1 character set to utf8. As true conversion will take ages, I had the idea of just changing the character sets (and preferably collation, too) of the tables without actually converting the data. Conversion could b

Re: Upgrading How To

2014-12-26 Thread Reindl Harald
Am 26.12.2014 um 20:52 schrieb Grant Peel: Shawn & all, Thank you for taking to time to reply. So, to be clear, what I understand from your post is that replacing the new build's grant/system tables with the archived ones from the previous version, generally works fine, upgrade issues not wit

Re: Upgrading How To

2014-12-26 Thread Grant Peel
Shawn & all, Thank you for taking to time to reply. So, to be clear, what I understand from your post is that replacing the new build's grant/system tables with the archived ones from the previous version, generally works fine, upgrade issues not withstanding. This is the answer I

Re: Upgrading How To

2014-12-26 Thread shawn l.green
Hi Grant, On 12/26/2014 11:18 AM, Grant Peel wrote: Reindl, I am sorry, in my original post, I forgot to mention that the OLD box and the NEW box are the same physical machine. I need to be able to save all data into files on a memstick or portable disc and restore them to the newly staged mach

RE: Upgrading How To

2014-12-26 Thread Grant Peel
Reindl, I am sorry, in my original post, I forgot to mention that the OLD box and the NEW box are the same physical machine. I need to be able to save all data into files on a memstick or portable disc and restore them to the newly staged machine (with the new version of mysql). -Grant -- MySQ

Re: Upgrading How To

2014-12-25 Thread Reindl Harald
Am 25.12.2014 um 16:01 schrieb Grant Peel: I was wondering if anyone knows of a concise tutorial on how to upgrade (by moving from one box (old) to another box (new) mysql in a virtual environment (many mysql users, many databases). Mysql 5.x setup on freebsd 8.x (x86/32b), call this box A

Upgrading How To

2014-12-25 Thread Grant Peel
Hi all, I was wondering if anyone knows of a concise tutorial on how to upgrade (by moving from one box (old) to another box (new) mysql in a virtual environment (many mysql users, many databases). Example: Mysql 5.x setup on freebsd 8.x (x86/32b), call this box A. Want to move to

Re: How to retrieve next record?

2014-12-12 Thread Trianon 33
theless a good start, thanks. BR, Hans. Johan De Meersman schreef op 11-12-14 om 23:44: - Original Message - From: "Wm Mussatto" Subject: Re: How to retrieve next record? Related what is the form of the prmary key. If its numeric something like $sDBQuery1 = "SELECT *

Re: How to retrieve next record?

2014-12-12 Thread Trianon 33
$con!=null Martin Gainty Date: Thu, 11 Dec 2014 14:07:33 -0800 Subject: Re: How to retrieve next record? From: mussa...@csz.com To: larry.mart...@gmail.com CC: mysql@lists.mysql.com On Thu, December 11, 2014

Re: How to retrieve next record?

2014-12-11 Thread Johan De Meersman
- Original Message - > From: "Wm Mussatto" > Subject: Re: How to retrieve next record? > Related what is the form of the prmary key. If its numeric something like > $sDBQuery1 = "SELECT * FROM kentekenlogtest WHERE kenteken < > '$sActueelkenteken&#x

RE: How to retrieve next record?

2014-12-11 Thread Martin Gainty
l Martin Gainty > Date: Thu, 11 Dec 2014 14:07:33 -0800 > Subject: Re: How to retrieve next record? > From: mussa...@csz.com > To: larry.mart...@gmail.com > CC: mysql@lists.

Re: How to retrieve next record?

2014-12-11 Thread Trianon 33
Trianon 33 schreef op 11-12-14 om 23:20: Wm Mussatto schreef op 11-12-14 om 23:07: On Thu, December 11, 2014 13:43, Larry Martell wrote: On Thu, Dec 11, 2014 at 4:34 PM, Trianon 33 wrote: Hi all, It seems like a simple question, however I'm not able to find the answer. Let me explain.

Re: How to retrieve next record?

2014-12-11 Thread Larry Martell
Please reply to the list and not to me directly On Thu, Dec 11, 2014 at 5:10 PM, Trianon 33 wrote: > > Larry Martell schreef op 11-12-14 om 23:04: >> >> On Thu, Dec 11, 2014 at 4:58 PM, Trianon 33 wrote: >>> >>> Larry Martell schreef op 11-12-14 om 22:43: On Thu, Dec 11, 2014 at 4:34 P

Re: How to retrieve next record?

2014-12-11 Thread Wm Mussatto
On Thu, December 11, 2014 13:43, Larry Martell wrote: > On Thu, Dec 11, 2014 at 4:34 PM, Trianon 33 wrote: >> Hi all, >> >> It seems like a simple question, however I'm not able to find the >> answer. >> >> Let me explain. I have a DB with lots of columns, one is labeled as >> 'kenteken' and i

Re: How to retrieve next record?

2014-12-11 Thread Larry Martell
On Thu, Dec 11, 2014 at 4:34 PM, Trianon 33 wrote: > Hi all, > > It seems like a simple question, however I'm not able to find the > answer. > > Let me explain. I have a DB with lots of columns, one is labeled as > 'kenteken' and it is also the primary key in the DB. I poke into this DB > with

How to retrieve next record?

2014-12-11 Thread Trianon 33
Hi all, It seems like a simple question, however I'm not able to find the answer. Let me explain. I have a DB with lots of columns, one is labeled as 'kenteken' and it is also the primary key in the DB. I poke into this DB with the command $sDBQuery1 = "SELECT * FROM kentekenlogtest WH

Re: how to access Synology's mysql (mariadb) on the command line

2014-08-20 Thread Wybo
Yes, that worked - thank you very much! On 2014-08-20 22:51, shawn l.green wrote: Hello Wybo, I cleansed your reply and cc:'ed the list again to share the answer. On 8/20/2014 4:24 PM, Wybo wrote: Hi Shawn, Thanks for your prompt reply - I suppose I'll have to do that query via phpMysqlAdmin

Re: how to access Synology's mysql (mariadb) on the command line

2014-08-20 Thread shawn l.green
Hello Wybo, I cleansed your reply and cc:'ed the list again to share the answer. On 8/20/2014 4:24 PM, Wybo wrote: Hi Shawn, Thanks for your prompt reply - I suppose I'll have to do that query via phpMysqlAdmin. When I do that, the only host that appears is localhost. However, when I browse th

Re: how to access Synology's mysql (mariadb) on the command line

2014-08-20 Thread shawn l.green
Hi Wybo, On 8/20/2014 3:47 PM, Wybo wrote: My Synology station is on 192.168.178.27, the database listens to port 3306, on my FritzBox I forwarded port 3306 to 192.168.178.27, I /can/ connect to the database on http://192.168.178.27/phpMyAdmin/ But when I try: mysql --host=192.168.178.27 --pass

how to access Synology's mysql (mariadb) on the command line

2014-08-20 Thread Wybo
My Synology station is on 192.168.178.27, the database listens to port 3306, on my FritzBox I forwarded port 3306 to 192.168.178.27, I /can/ connect to the database on http://192.168.178.27/phpMyAdmin/ But when I try: mysql --host=192.168.178.27 --password=* --user=wybo I get: ERROR 1045 (2

how to improve mysql's query speed in table 'token' of keystone,when using in openstack with lots of VMs?

2014-08-02 Thread 曾国仕
when i used mysql as the keystone's backend in openstack ,i found that the 'token' table saved 29 millions record (using myisam as engine,the size of token.MYD is 100G) and have 4 new token save per second. That result to the slow query of a token .since of inserting new token frequently,how cou

Re: How to write a multi query in mysqltest framework?

2014-07-10 Thread Sergey Petrunia
On Thu, Jul 10, 2014 at 10:33:04AM +0800, 娄帅 wrote: > In the C API, we can call mysql_query("select 1; select 2"); > which just send the command once to the server, and server > return two result sets, So i want to know if there is a command in the > mysqltest framework to do the job? > I want to w

How to write a multi query in mysqltest framework?

2014-07-09 Thread 娄帅
Hi, all, In the C API, we can call mysql_query("select 1; select 2"); which just send the command once to the server, and server return two result sets, So i want to know if there is a command in the mysqltest framework to do the job? I want to write a test case like that. Thank you for your repl

Re: How to get all known bugs on specified mysql version?

2014-07-07 Thread shawn l.green
Hello, On 7/6/2014 7:42 PM, 娄帅 wrote: Hi, all, I want to use MySQL 5.6.18 in production, so i want to get all known bugs on this version. Now i check the "bugfix" section in MySQL 5.6.19 and above version. Am i doing the right thing? Or Do you have a better method? Any input will be appreciate

Re: How to get all known bugs on specified mysql version?

2014-07-07 Thread Reindl Harald
Am 07.07.2014 12:37, schrieb wagnerbianchi.com: > Why do not use GTID? Just curious...WB just read the changelogs and endless count of bugreports it's a new feature and it works as buggy as replication years ago where you had the rebuild the slave all the time and maybe still if temporary table

Re: How to get all known bugs on specified mysql version?

2014-07-07 Thread wagnerbianchi.com
Why do not use GTID? Just curious...WB 2014-07-07 3:18 GMT-03:00 louis liu : > don't use GTID is my suggestion :) > > > > 2014-07-07 7:42 GMT+08:00 娄帅 : > > > Hi, all, > > > > I want to use MySQL 5.6.18 in production, so i want to get all known bugs > > on this version. Now i check the "bugfix"

Re: How to get all known bugs on specified mysql version?

2014-07-06 Thread louis liu
don't use GTID is my suggestion :) 2014-07-07 7:42 GMT+08:00 娄帅 : > Hi, all, > > I want to use MySQL 5.6.18 in production, so i want to get all known bugs > on this version. Now i check the "bugfix" section in MySQL 5.6.19 and above > version. Am i doing the right thing? Or Do you have a better

How to get all known bugs on specified mysql version?

2014-07-06 Thread 娄帅
Hi, all, I want to use MySQL 5.6.18 in production, so i want to get all known bugs on this version. Now i check the "bugfix" section in MySQL 5.6.19 and above version. Am i doing the right thing? Or Do you have a better method? Any input will be appreciated!

How to get a S-lock in a Transaction

2014-05-28 Thread N!
Hi: I tried to get a S-lock using following SQL: 1. start transaction; SELECT * FROM test.t1 where id=1; But I found this way does not work. I changed it as following: 2. start transaction; SELECT * FROM test.t1 where id=1 lock in share mode; I am wondering why the fi

Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Reindl Harald
ot;, > $type); > > ./includes/bootstrap.inc: elseif (db_is_active() && (($file = > db_result(db_query("SELECT filename FROM {system} WHERE name = '%s' AND > type = '%s'", $name, $type))) && file_exists($file))) { > > On Fri, Feb 2

Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Madan Thapa
RE name = '%s' AND type = '%s'", $name, $type))) && file_exists($file))) { [root@server public_html]# please advise. thanks On Fri, Feb 28, 2014 at 4:57 PM, Reindl Harald wrote: > > Am 28.02.2014 12:17, schrieb Madan Thapa: > > > After up

Re: how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Reindl Harald
Am 28.02.2014 12:17, schrieb Madan Thapa: > After upgrading from mysql 5.0 to mysql 5.1, i am getting the follwing > error: > > how to set "SET SQL_BIG_SELECTS=1"? just type it before your query in question? as you can see below if you try such things and they are not s

how to set "SET SQL_BIG_SELECTS=1" ?

2014-02-28 Thread Madan Thapa
Dear all, After upgrading from mysql 5.0 to mysql 5.1, i am getting the follwing error: how to set "SET SQL_BIG_SELECTS=1" ? Error is *Warning*: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECT

RE: How to make multiple master to single slave in mysql?

2014-02-25 Thread Zhigang Zhang
OK! Thank you very much! Zhigang. -Original Message- From: shawn l.green [mailto:shawn.l.gr...@oracle.com] Sent: Wednesday, February 26, 2014 11:57 AM To: mysql@lists.mysql.com Subject: Re: How to make multiple master to single slave in mysql? On 2/25/2014 9:55 PM, Zhigang Zhang

Re: How to make multiple master to single slave in mysql?

2014-02-25 Thread shawn l.green
On 2/25/2014 9:55 PM, Zhigang Zhang wrote: > How to make multiple master replicate to single slave in mysql? > > > > Tell me some approaches? > > Put your masters in a replication ring, hang a slave from one of them (as suggested by Mr. Van der Westhuizen) Us

How to make multiple master to single slave in mysql?

2014-02-25 Thread Zhigang Zhang
How to make multiple master replicate to single slave in mysql? Tell me some approaches? Thanks Zhigang

Re: how to create unique key for long varchar?

2013-11-05 Thread Li Li
bb >>> I want the url is unique when inserting it. >>> I googled and found >>> http://stackoverflow.com/questions/6800866/how-to-store-urls-in-mysql >>> this post suggests use md5 of url. But in theory, there will be >>> conflict that

Re: how to create unique key for long varchar?

2013-11-05 Thread Michael Dykman
g params such as > >> a.html?q=&fl= > >> I want the url is unique when inserting it. > >> I googled and found > >> http://stackoverflow.com/questions/6800866/how-to-store-urls-in-mysql > >>

Re: how to create unique key for long varchar?

2013-11-05 Thread Li Li
a&fl= >> I want the url is unique when inserting it. >> I googled and found >> http://stackoverflow.com/questions/6800866/how-to-store-urls-in-mysql >> this post suggests use md5 of url. But in theory, there will be >> conflic

RE: how to create unique key for long varchar?

2013-11-05 Thread Rick James
. > -Original Message- > From: Dan Nelson [mailto:dnel...@allantgroup.com] > Sent: Tuesday, November 05, 2013 7:56 AM > To: Li Li > Cc: mysql@lists.mysql.com > Subject: Re: how to create unique key for long varchar? > > In the last episode (Nov 05), Li Li said: > >

Re: how to create unique key for long varchar?

2013-11-05 Thread Dan Nelson
aaa&fl= > I want the url is unique when inserting it. > I googled and found > http://stackoverflow.com/questions/6800866/how-to-store-urls-in-mysql > this post suggests use md5 of url. But in theory, there will be > conflict that two differ

how to create unique key for long varchar?

2013-11-04 Thread Li Li
url is unique when inserting it. I googled and found http://stackoverflow.com/questions/6800866/how-to-store-urls-in-mysql this post suggests use md5 of url. But in theory, there will be conflict that two different urls will have the same md5(even it's probablitiy is very small). I

Re: How to update MySQL table based on 3 other tables

2013-09-03 Thread shawn green
Hello Neil, On 8/24/2013 5:21 AM, Neil Tompkins wrote: I have the following four MySQL tables Region RegionId City CityId RegionId Hotel HotelId CityId HotelRegion HotelId RegionId I'm struggling to write a UPDATE statement to update the City table's RegionId field from data in the HotelReg

How to update MySQL table based on 3 other tables

2013-08-24 Thread Neil Tompkins
I have the following four MySQL tables Region RegionId City CityId RegionId Hotel HotelId CityId HotelRegion HotelId RegionId I'm struggling to write a UPDATE statement to update the City table's RegionId field from data in the HotelRegion table. Basically how can I update the City table with

答复: how to get the levels of a table or a index in Mysql 5.6?

2013-07-08 Thread 平安科技数据库技术支持部
The level is the height of a B-tree table or a B-tree index in mysql 5.6. My question is how to get the height(blevel) of a B-tree table or a B-tree index in mysql 5.6? Thanks. In oracle database,we can use the following statement to query the blevel of a index select index_name,blevel

RE: how to get the levels of a table or a index in Mysql 5.6?

2013-07-08 Thread Rick James
Or maybe the number of levels in the BTree? Rule of Thumb: logarithm base 100 > -Original Message- > From: Hartmut Holzgraefe [mailto:hart...@skysql.com] > Sent: Monday, July 08, 2013 6:38 AM > To: mysql@lists.mysql.com > Subject: Re: how to get the levels of a table or a

Re: how to get the levels of a table or a index in Mysql 5.6?

2013-07-08 Thread Hartmut Holzgraefe
On 08.07.2013 04:23, 李炜(平安科技数据库技术支持部) wrote: > how to get the levels of a table or a index in Mysql 5.6? Level? What is level supposed to be in that context? Cardinality? Or something completely different? /me confused ... -- Hartmut Holzgraefe Principal Support Engineer (EMEA) SkySQL

how to get the levels of a table or a index in Mysql 5.6?

2013-07-07 Thread 平安科技数据库技术支持部
Hi how to get the levels of a table or a index in Mysql 5.6? thanks The information in this email is confidential and may be legally privileged. If you have

RE: how to list record in column (instead of a row)

2013-04-30 Thread Rick James
Or SELECT ... \G (replace ';' with '\G') > -Original Message- > From: h...@tbbs.net [mailto:h...@tbbs.net] > Sent: Wednesday, April 24, 2013 9:55 AM > To: mysql list > Subject: Re: how to list record in column (instead of a row) > > &

Re: how to list record in column (instead of a row)

2013-04-28 Thread spameden
you can do: select * from table\G 2013/4/24 > 2013/04/24 09:06 -0700, Rajeev Prasad > this table has many columns and only 1 record. select * from table; > generates an unreadable list. how can i list the record as in two columns? > (column name and its value)? i looked at UNPIVOT, b

Re: how to list record in column (instead of a row)

2013-04-24 Thread hsv
2013/04/24 09:06 -0700, Rajeev Prasad this table has many columns and only 1 record. select * from table; generates an unreadable list. how can i list the record as in two columns? (column name and its value)? i looked at UNPIVOT, but could not get it to work. SQL> select * from table U

how to list record in column (instead of a row)

2013-04-24 Thread Rajeev Prasad
this table has many columns and only 1 record. select * from table; generates an unreadable list. how can i list the record as in two columns? (column name and its value)? i looked at UNPIVOT, but could not get it to work. SQL> select * from table UNPIVOTE INCLUDE NULLS;                    

How to tweek the max connections

2013-04-07 Thread Yu Watanabe
Hi all! I would like know if there are any calculatios for specifying the maximum number of the 'max_connections' value. I understand that max_connections should be decided by the remaining RAM size of the system. But exactly how should it be actually calculated? I am currently using RHEL 5.3 3

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Reindl Harald
l refuse connections no, my db-layer is traing again for some times and the chance to get a free slot because other workers are serving images is proven in practice damned high > >> -Original Message- >> From: Reindl Harald [mailto:h.rei...@thelounge.net] >> Sent: Tu

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread spameden
> > Sent: Tuesday, April 02, 2013 2:00 PM > > To: mysql@lists.mysql.com > > Subject: Re: How to change max simultaneous connection parameter in > > mysql. > > > > > > > > Am 02.04.2013 22:56, schrieb Rick James: > > > I hear that nginx is very fa

RE: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Rick James
e- > From: spameden [mailto:spame...@gmail.com] > Sent: Tuesday, April 02, 2013 7:10 AM > To: Reindl Harald > Cc: mysql@lists.mysql.com > Subject: Re: How to change max simultaneous connection parameter in > mysql. > > 2013/3/24 Reindl Harald > > > > > > &

RE: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Rick James
ld [mailto:h.rei...@thelounge.net] > Sent: Tuesday, April 02, 2013 2:00 PM > To: mysql@lists.mysql.com > Subject: Re: How to change max simultaneous connection parameter in > mysql. > > > > Am 02.04.2013 22:56, schrieb Rick James: > > I hear that nginx is very fas

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Reindl Harald
tell me something new >> -Original Message- >> From: Reindl Harald [mailto:h.rei...@thelounge.net] >> Sent: Tuesday, April 02, 2013 2:00 PM >> To: mysql@lists.mysql.com >> Subject: Re: How to change max simultaneous connection parameter in >> mysql. >

RE: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Rick James
ei...@thelounge.net] > Sent: Tuesday, April 02, 2013 8:29 AM > To: mysql@lists.mysql.com > Subject: Re: How to change max simultaneous connection parameter in > mysql. > > > > Am 02.04.2013 16:09, schrieb spameden: > > 2013/3/24 Reindl Harald > <mailto:h

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Reindl Harald
il.com] >> Sent: Tuesday, April 02, 2013 7:10 AM >> To: Reindl Harald >> Cc: mysql@lists.mysql.com >> Subject: Re: How to change max simultaneous connection parameter in >> mysql. >> >> 2013/3/24 Reindl Harald >> >>> >>> >>>

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread Reindl Harald
Am 02.04.2013 16:09, schrieb spameden: > 2013/3/24 Reindl Harald > > > Am 24.03.2013 05:20, schrieb spameden: > > 2013/3/19 Rick James >: > >>> you never have hosted a large site > >> Check my email address before sayin

Re: How to change max simultaneous connection parameter in mysql.

2013-04-02 Thread spameden
serves static content way better than apache2 (did few benchmarks already). nginx+php5-fpm handles better load than apache2-prefork+mod_php you can google benchmarks if you dont trust me also nginx eats much less memory than apache2 php5-fpm can be tuned as well to suit your needs if you have lots

Re: How to change max simultaneous connection parameter in mysql.

2013-03-24 Thread Manuel Arostegui
pache 2.4 handles the load of 600 parallel executed > php-scripts from our own CMS-system > > maybe you guys should learn what a opcode-cache is and > how to compile and optimize software (binaries and config) > > And maybe you should learn some good manners.

Re: How to change max simultaneous connection parameter in mysql.

2013-03-24 Thread Reindl Harald
e apache2 it has so many problems under load.. if you are too supid to configure it yes > The best combo is php5-fpm+nginx. > Handles loads of users at once if well tuned Apache 2.4 handles the load of 600 parallel executed php-scripts from our own CMS-system maybe you guys should learn wh

Re: How to change max simultaneous connection parameter in mysql.

2013-03-23 Thread spameden
e if well tuned. > >> -Original Message- >> From: Reindl Harald [mailto:h.rei...@thelounge.net] >> Sent: Monday, March 18, 2013 1:36 PM >> To: mysql@lists.mysql.com >> Subject: Re: How to change max simultaneous connection parameter in >> mysql. >>

Re: How to change max simultaneous connection parameter in mysql.

2013-03-19 Thread Reindl Harald
mory and CPU so please get rid of your i386 and stop to explain me the world >> -Original Message- >> From: Reindl Harald [mailto:h.rei...@thelounge.net] >> Sent: Monday, March 18, 2013 1:36 PM >> To: mysql@lists.mysql.com >> Subject: Re: How to change max sim

RE: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Rick James
> you never have hosted a large site Check my email address before saying that. 20 may be low, but 100 is rather high. > -Original Message- > From: Reindl Harald [mailto:h.rei...@thelounge.net] > Sent: Monday, March 18, 2013 1:36 PM > To: mysql@lists.mysql.com > S

RE: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Rick James
6, 2013 1:45 AM > To: mysql@lists.mysql.com > Subject: Re: How to change max simultaneous connection parameter in > mysql. > > Hi Kevin, > In your MySQL client pls execute: > SET GLOBAL max_connections = 200; > To Make the change permanent you can edit /etc/my.cnf or whatev

Re: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Noel Butler
On Mon, 2013-03-18 at 21:35 +0100, Reindl Harald wrote: > > Am 18.03.2013 21:01, schrieb Rick James: > > 20 is plenty if your pages run fast enough > > if your server can not serve more than 20 simultaionous > requests you are not doing any serious things > or he's using a 286 signatu

Re: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Reindl Harald
o:h.rei...@thelounge.net] >> Sent: Monday, March 18, 2013 12:15 PM >> To: mysql@lists.mysql.com >> Subject: Re: How to change max simultaneous connection parameter in >> mysql. >> >> >> >> Am 18.03.2013 19:26, schrieb Rick James: >>> If you are r

RE: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Rick James
error. > -Original Message- > From: Reindl Harald [mailto:h.rei...@thelounge.net] > Sent: Monday, March 18, 2013 12:15 PM > To: mysql@lists.mysql.com > Subject: Re: How to change max simultaneous connection parameter in > mysql. > > > > Am 18.03.2013 19:26,

Re: How to change max simultaneous connection parameter in mysql.

2013-03-18 Thread Reindl Harald
Am 18.03.2013 19:26, schrieb Rick James: > If you are running Apache with MaxClients set too high, that can cause the > problem. "too high" is relative > That Apache setting should be something like 20. (Other web servers have > similar settings.) 20 is a laughable value as long you are n

Re: How to change max simultaneous connection parameter in mysql.

2013-03-16 Thread Igor Shevtsov
Hi Kevin, In your MySQL client pls execute: SET GLOBAL max_connections = 200; To Make the change permanent you can edit /etc/my.cnf or whatever MySQL config file you you've got in your system Look for this line max_connections under [mysqld] secction, add it if it's not in the config. make sure

Re: How to change max simultaneous connection parameter in mysql.

2013-03-16 Thread Manuel Arostegui
2013/3/16 Kevin Peterson > I am using PHP along with mysql. Mysql default configuration allows to > have 100 simultaneous connection which I want to chane to 200. Please help. > If you're reaching too many connections quite often, this change can imply memory problems in your server. If you are

RE: How to return resultset from MySQL Stored Procedure using prepared statement?

2013-03-13 Thread Rick James
What language are you using? In Perl, there is $sth->more_results; > -Original Message- > From: Girish Talluru [mailto:girish.dev1...@gmail.com] > Sent: Wednesday, March 13, 2013 5:24 AM > To: mysql@lists.mysql.com > Subject: How to return resultset from MySQL Stor

Re: How to verify if backup is ok?

2013-02-19 Thread Johan De Meersman
- Original Message - > From: "Rafał Radecki" > > pt-table-checksum performs an online replication consistency check by > executing checksum queries on the master, which produces >different results on replicas that are inconsistent with the > master. -> It should be used for verifi

Re: How to verify if backup is ok?

2013-02-19 Thread Rafał Radecki
Thanks, I will use this tool :) 2013/2/19 Johan De Meersman : > - Original Message - >> From: "Rafał Radecki" >> >> pt-table-checksum performs an online replication consistency check by >> executing checksum queries on the master, which produces >>different results on replicas tha

Re: How to verify if backup is ok?

2013-02-19 Thread Rafał Radecki
Thanks for the reply. pt-table-checksum performs an online replication consistency check by executing checksum queries on the master, which produces different results on replicas that are inconsistent with the master. -> It should be used for verifing mysql replication, not for my problem.

Re: How to verify if backup is ok?

2013-02-18 Thread Johan De Meersman
- Original Message - > From: "Rafał Radecki" > > 3) drop mysql and app databases; > 4) restore them from backup; Instead of dropping the DBs, simply restore to another database or server. That will also allow you to perform a comparison using some graphical tool, or if that fails mysql

How to verify if backup is ok?

2013-02-18 Thread Rafał Radecki
with my script; 3) drop mysql and app databases; 4) restore them from backup; 5) verify if data after restore is exactly the same as before the process. I know how to make steps 1-4 but I do not know how to make step 5. Any tips? Should I do it on filesystem level or on mysql level? Are there any

Semisynchrounous replication - how to clear Rpl_semi_sync_master_no_tx/_times.

2012-12-13 Thread Rafał Radecki
Hi all. I would like to clear values off Rpl_semi_sync_master_no_tx and Rpl_semi_sync_master_no_times status variables because I am plugging a sync replication setup into nagios. I've tried: mysql> SET global Rpl_semi_sync_master_no_tx=0; ERROR 1193 (HY000): Unknown system variable 'Rpl_semi_sync_

RE: How to verify mysqldump files

2012-11-07 Thread Rick James
Wednesday, November 07, 2012 7:09 AM > To: 'Gary'; mysql@lists.mysql.com > Subject: RE: How to verify mysqldump files > > In the past when I used mysqldump, I used a slave database for backups and > periodically testing restores. > > My process for testing: > -

RE: How to verify mysqldump files

2012-11-07 Thread Stillman, Benjamin
gj-my...@yahoo.co.uk] Sent: Wednesday, November 07, 2012 7:52 AM To: mysql@lists.mysql.com Subject: How to verify mysqldump files Can anyone suggest how I could verify that the files created by mysqldump are "okay"? They are being created for backup purposes, and the last thing I want to

Re: How to verify mysqldump files

2012-11-07 Thread Manuel Arostegui
2012/11/7 Ananda Kumar > you can use checksum to make sure there are not corruption in the file That would work for the file integrity itself not for the data integrity _in_ the file. As Claudio suggested, probably going thru the whole recovery process from time to time is the best way to mak

Re: How to verify mysqldump files

2012-11-07 Thread Ananda Kumar
you can use checksum to make sure there are not corruption in the file On Wed, Nov 7, 2012 at 6:39 PM, Claudio Nanni wrote: > Gary, > > It is always a good practice to test the whole solution backup/restore. > So nothing is better than testing a restore, actually it should be a > periodic procedu

  1   2   3   4   5   6   7   8   9   10   >