MySQL database table automatic backup shell script
Call Example:
The code is as follows
Copy Code
Mysql_data_backup.bash Www_casMysql_data_backup.bash 112 Www_qicheMysql_data_backup.bash 112 Www_health
Include
Full-standby batch processing under win
Batch processing is used for game servers, rigorously tested and formally used, and is used primarily to fully back up the database, of course. It's just a few backups.
, the function of FTP can be invoked
First: New batch file Backup.dat, which enters the following code:
The code is as follows
Copy Code
net stop MySQLxcopy "C:/Program files/mysql/mysql Server 5.0/data/piaoyi/*.*" d:/db_backup/%date:~0,10%//ynet start
Specific can refer to the PetShop source code program.Before encryption: "sqlprofileconnstring"connectionstring="server= (local); user id=mspetshop; [Email protected];d atabase=mspetshop4profile;min pool Size=4;max pool Size=4;packet
The easiest way is to directly
There is a [sleep] key in the rightmost three keys in the first row of the keyboard. [Weakup] The shutdown is [power] three keys are together
Method 1:
To use Windows ' own commands, first turn off hibernation, or
Installing packages
The code is as follows
Copy Code
Pkg_add-r Cuse4bsd-kmodPkg_add-r WEBCAMD
Configure Cuse4bsd
The code is as follows
Copy Code
Echo ' cuse4bsd_load= ' yes ' '
When installing Linux, choose to use Chinese, when using SSH, telnet login Operation command will appear in Chinese garbled, under RHEL5 pass the test. Modify the/etc/sysconfig/i18n to copy the contents to the Clipboard code: [root@php ~]#
Suppose the 1.txt file content is127.0.0.1192.168.1.1Then we get the file content IP for scanningwindow. bat version
: 1.txt is the filename, modify according to the requirement: C:\nmap\nmap-6.46\nmap.exe as Namp path, modified according to
The direct subtraction of functions is not correct, you need to do this:
* * Get the current date and time
In Unix, time is represented by the number of seconds that have elapsed since 0 o'clock January 1, 1970, which is called the Unix timestamp (
Mysql noinstall installation 1. Download mysql-noinstall-5.1.68-win32 version 2. Go to the root directory and select a configuration file to change the file name to my. ini. My-huge.ini (for very big sites, too visitors at day or at some time. very
Today, July 15, October 31, run the code: {code ...} the returned result is 201410. Does it mean strtotime (& quot;-1 month & quot;) is untrusted? Defines the time zone. Php-vPHP5.4.33-1 ~ Dotdeb.0 (cli) (built: Sep19201412: 00: 21) Copy... today,
This article to the students about the variable name of PHP use method, this is just known variable variable name, we come together to learn.
Sometimes variable names can be a great convenience for programming. This means that variable names can be
This article introduces the differences between the three output functions echo and print and Print_r, let's take a look at the usage speed issue.
The difference between 1.echo and print
The functions of Echo and print in PHP are basically the same (
PHP executes system commands have several commonly used functions, such as: System functions, EXEC functions, popen functions, passthru,shell_exec functions They can execute system commands, but the premise must be the system to give permission
A friend who used PHP for the first time may find that when we configure the PHP environment, we use the PHP date function to output the date and find that the date is related to the correct date for 8 hours.
Cases
The code is as follows
Phphtml entity character conversion what functions can php convert html entity symbol 'é?
Php has tried several functions.
Reply to discussion (solution)
I don't know how you do it. First, let's give you a list of HTML entities supported by
[2014] [Xinxing] [php] [autumn] [4] string and comment and simple variable calculation ************* string introduction * *******************
1. the four basic data types we introduced in the previous section are not described as strings, so
After receiving the data sent from the client, add the data as a parameter to the URL and generate the QR code for the URL. The QR code can be generated, but the URL of the generated QR code does not contain the parameters I want. The code is as
Here to introduce the difference between the PHP date function, here is mainly about the date and gmdate the use of the difference, the need for friends can refer to.
date-formatting a local time/date
The Date/time function allows you to extract and
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.