Method 1:
Go to the MySQL installation directory and open the MySQL configuration file my. ini or my. CNF to find max_connections = 100 and change it to max_connections = 1000 to restart MySQL.
Method 2:
The maximum number of connections for MySQL is 100 by default. Client Logon: mysql-uusername-ppassword
Set the new maximum number of connections to 200: mysql> set global max_connections = 200
Display the currently running query: mysql> show processlist
Display Current status: mysql> show status
IntroducedWe have developed a tax calculator, after entering the salary, printing the tax payable.A tax calculation formula:
Taxable income = Salary amount-Various social insurance costs-starting point (3500 yuan)
Taxable amount = Taxable income x tax Rate-Calculator deduction
Each of the social insurance costs we set in this procedure is 0, do not consider.The tax rate and the Calculator deduction number corresponding table:
Taxable
Income amount
Tax r
Recently established in the lab's network environment, all host labs are connected via a switch. Want to be a gateway through the server (single card), using the Mentohust authentication extranet, and then other hosts in the intranet through this gateway to connect to the external network.1. First use mentohust on the server to connect to the extranet, and then enter the Ifconfig command at the terminal to view the acquired extranet IP:Eth0 Link encap: Ethernet Hardware address B8:AC:6F:D8
MTU is the abbreviation of Maximumtransmissionunit, is the largest packet of packets on the network, most network device MTU is 1500,MTU unit is byte, if the MTU of the machine than the MTU of the gateway, large packets will be removed from the transmission, This will result in a lot of packet fragmentation, increase the packet loss rate, reduce network speed.
By setting the MTU of this machine to be smaller or the same than the MTU of the gateway, t
Copy Code code as follows:
$ (function () {
var $inputs = $ (' Input[type=button] ')
. Delay (500)
. Queue (function () {$ (this). Hide (). Dequeue ();})
. Delay (1500)
. Queue (function () {$ (this). Show ();});
});
The above code lets the button in the page Hide 500 milliseconds after the page is loaded, and then displays it in 1500 milliseconds.
Copy Code code as follo
;
}
System.out.println (GetName () + "has awakened");
}
Joiner.java
Package com.anialy.test.multithread.JoinAndInterrupt;
public class Joiner extends Thread {
private sleeper sleeper;
Public Joiner (String name, sleeper sleeper) {
setname (name);
This.sleeper = sleeper;
Start ();
}
@Override public
Void Run () {
try {
//If a thread is raised with T.join () on another thread T, this thread will be suspended,
// Recovery (that is, t.isalive () returned as fal
see on the second machine Docker0 IP is the 172.17.0.2/16,docker container that obtains IP from Docker0 's network, and on the second machine, the Docker container's IP range is limited to 172.17.2.1/24 network segment.
Test host1
View IP to ensure connectivity to Host2 DOCKER0IP
root@controller:~# ifconfig docker0
docker0 Link encap:ethernet hwaddr 00:0c:29:d3:5a:fe inet addr
: 172.17.0.1 bcast:172.17.255.255 mask:255.255.0.0
inet6 addr:fe80::20c:29ff:fed3:5afe/64 sc
, the frame head of the Ethernet frame is planed (Dmac destination MAC address 48bit=6bytes+smac source MAC address 48bit=6bytes+ Type field 2bytes 14Bytes and frame tail CRC checksum part 4Bytes then the place where the upper-layer protocol is left is the maximum value of 1500Bytes for the data domain. We call it the MTU.
The size of the UDP packet should be 1500-IP header (8) = 1472 (BYTES)The TCP packet size should be the
the employee information in unit 20th of the EMP tableSELECT * from emp where deptno = 20;
Query name is Smith's employee, string usage ", content case sensitiveSELECT * from emp where ename = ' SMITH ';Summary: Which of the techniques you have studied, which are case sensitive and which are case insensitive
For employees who are on the December 17, 1980, note the Oracle default date format (DD-MON-RR represents 2-bit years)SELECT * from emp where hiredate = ' 1 July-December-80 ';
Query employ
. SELECT ' Employee number is: ' | | Empno | | ' The employee's name is: ' | | ename | | ', the base salary is: ' | | Sal | | ', Position is: ' | | Job | | ‘! ' Employee information from EMP; It is important to remember that the content on the alias is not enclosed in "'" and that only the content that appears in the SELECT clause uses "'". Second, limited query In the previous simple query, all the records were displayed, but now you can filter the displayed records, which is the work of qual
, string value, case sensitiveSELECT *From EMPwhere ename= ' SMITH ';Insensitive: Table name, field name, ' A 'Sensitive: string constant valueFor December 17, 1980 employees, "1 July-December-80" satisfies the Oracle default date format (DD-MON-RR represents a 2-bit year)SELECT *From EMPwhere hiredate = ' 1 July-December-80 ';Query employees with a salary greater than 1500SELECT * from emp where sal > 1500;Find employees with salaries between 1300 an
bonusSELECT * FROM EMP where comm is null;12. Check the employee information that the base salary is greater than 1500 and can receive the bonusSELECT * from emp where Sal > Comm and are NOT null;13. Find employee information that has a base salary greater than 1500 or can receive a bonusSELECT * from emp where sal > comm are NOT null;14. Find employee information with a base salary of not more than
Upgrade the current kernel (2.6.32-220.el6.x86_64) to the target kernel (2.6.33-110.el6.x86_64) as required by the project, but the compiled target kernel (2.6.33-110.el6.x86_64) The corresponding driver does not necessarily support the corresponding device of the current system. This article details the processing steps of the target kernel driver that cannot support the current NIC device.01. Compile the target kernelPlease refer to kernel compilation related documents (omitted)02. Display all
Shing
Email: [Email protected]
Blog: http://blOg.csdn.net/qifengzou
Date: 2015.03.20 01:00
Reprint please indicate the CSDN blog from "Chifeng"
Upgrade the current kernel (2.6.32-220.el6.x86_64) to the target kernel (2.6.33-110.el6.x86_64) as required by the project, but the compiled target kernel (2.6.33-110.el6.x86_64) The corresponding driver does not necessarily support the corresponding device of the current system. This article details the processing steps of the targe
: Kingston ddr3-1600 4gx2¥560
Graphics card: ASUS or MSI 7770-1G¥800 (n card to consider gigabyte 650ti¥1070)
Hard drive: Western data Caviar Blue 1tb¥410
Chassis: Enger h230¥360
Power supply: Sea rhyme s12ii430¥310 (Alternative ti-G eco-400¥360)
Display: three-year warranty of the big brand 22, 23, 24 inch monitor, 16:9 or 16:10 choice
Single Play Configurationcpu:i5-3570k
Heat dissipation: Kyushu Frost Tower (alternative mining and thawing B81)
Motherboard: Gigabyte Z77X-D3H
Memory:
we always want to make the most of our products when we use a product. We broadband internet is also the same mentality, how to make ADSL the fastest, the best effect? Under the existing hardware conditions we can only optimize! Windows Series when installed, the default is for Ethernet settings, in the TCP/IP packet transfer process will be some of the work in the subcontracting and combination to adapt to the ISP. Although ADSL use PPPoE protocol, with the characteristics of the LAN, but not
Under Windows to a network card to set multiple IP, is relatively easy, today I wrote the content is about in Linux system, to a network card set up multiple IP address, under the Linux system, the first network card is called Eth0, the second card is called eth1, Here we set the first network card multiple IP, under Linux, configure the network card configuration file in the directory/etc/sysconfig/network-script/, the original network card configuration file name is Ifcfg-eth0, The configurati
It mainly analyzes the packet format of VLAN. At the same time, the application of vconfig command is explained.
pc:10.10.107.168 ap:10.10.107.231 (eth0.100)
1: Add VLAN, use Vconfig.
~# Vconfig
BusyBoxv1.10.3 (2012-09-23 02:13:20 CST) multi-call binary
Usage:vconfig COMMAND [OPTIONS] ...
Create Andremove Virtual Ethernet Devices
Options:
add [Interface-name] [vlan_id]
REM [Vlan-name]
Set_flag [Interface-name] [flag-num] [0 | 1]
Set_egress_map [Vlan-name] [skb_priority] [Vlan_qos]
Set_ingress
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.