⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
include
/
View File Name :
rpl_loaddata_charset.inc
connection master; --disable_warnings DROP DATABASE IF EXISTS mysqltest; --enable_warnings CREATE DATABASE mysqltest CHARSET UTF8; USE mysqltest; CREATE TABLE t (cl varchar(100)) CHARSET UTF8; if (!$LOAD_LOCAL) { LOAD DATA INFILE '../../std_data/loaddata_utf8.dat' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; } if ($LOAD_LOCAL) { LOAD DATA LOCAL INFILE './std_data/loaddata_utf8.dat' INTO TABLE t FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; } save_master_pos; echo ----------content on master----------; SELECT hex(cl) FROM t; connection slave; sync_with_master; echo ----------content on slave----------; USE mysqltest; SELECT hex(cl) FROM t; connection master; DROP DATABASE mysqltest; save_master_pos; connection slave; sync_with_master;