Home
last modified time | relevance | path

Searched full:mysql (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/external/oss-fuzz/projects/mysql-server/targets/
Dfuzz_real_query.cc6 #include <mysql.h>
7 #include <mysql/client_plugin.h>
15 MYSQL mysql; in LLVMFuzzerTestOneInput() local
28 mysql_init(&mysql); in LLVMFuzzerTestOneInput()
29 mysql_options(&mysql, MYSQL_ENABLE_CLEARTEXT_PLUGIN, &opt_cleartext); in LLVMFuzzerTestOneInput()
30 mysql_options(&mysql, MYSQL_OPT_SSL_MODE, &opt_ssl); in LLVMFuzzerTestOneInput()
31 mysql.options.protocol = MYSQL_PROTOCOL_FUZZ; in LLVMFuzzerTestOneInput()
34 if (!mysql_real_connect(&mysql, "localhost", "root", "root", "dbname", 0, NULL, flags)) { in LLVMFuzzerTestOneInput()
37 fprintf(logfile, "The last inserted row id is: %llu\n", mysql_insert_id(&mysql)); in LLVMFuzzerTestOneInput()
38 fprintf(logfile, "%llu affected rows\n", mysql_affected_rows(&mysql)); in LLVMFuzzerTestOneInput()
[all …]
Dfuzz_stmt_fetch.cc6 #include <mysql.h>
7 #include <mysql/client_plugin.h>
16 MYSQL mysql; in LLVMFuzzerTestOneInput() local
30 mysql_init(&mysql); in LLVMFuzzerTestOneInput()
31 mysql_options(&mysql, MYSQL_ENABLE_CLEARTEXT_PLUGIN, &opt_cleartext); in LLVMFuzzerTestOneInput()
32 mysql_options(&mysql, MYSQL_OPT_SSL_MODE, &opt_ssl); in LLVMFuzzerTestOneInput()
33 mysql.options.protocol = MYSQL_PROTOCOL_FUZZ; in LLVMFuzzerTestOneInput()
36 if (!mysql_real_connect(&mysql,"localhost","root","root","",0,NULL,0)) in LLVMFuzzerTestOneInput()
41 MYSQL_STMT *stmt = mysql_stmt_init(&mysql); in LLVMFuzzerTestOneInput()
45 mysql_close(&mysql); in LLVMFuzzerTestOneInput()
[all …]
Dfuzz_initfile.cc6 //#include <mysql.h>
7 //#include <mysql/client_plugin.h>
24 #include "mysql/psi/mysql_socket.h"
25 #include "mysql/psi/mysql_file.h"
71 …root --initialize-insecure --log-error-verbosity=5 --datadir=/out/mysql/data/ --basedir=/out/mysql/ in LLVMFuzzerTestOneInput()
78 snprintf(command, MAX_SIZE-1, "%s/mysql/data", filepath); in LLVMFuzzerTestOneInput()
81 snprintf(argbase, MAX_SIZE-1, "--basedir=%s/mysql/", filepath); in LLVMFuzzerTestOneInput()
/external/autotest/site_utils/
Dbind_mysql_to_cpuset.sh7 # This script creates a CPU set and binds the MySQL process to the
8 # set. It restarts MySQL if specified in the option. This script needs
14 MYSQL_PATH='/etc/init.d/mysql.server'
15 MYSQL_PID_PATH='/var/lib/mysql/atlantis1.mtv.corp.google.com.pid'
20 # The base cpuset directory for mysql.
21 MYSQL_CPUSET='mysql'
22 # CPUs in MySQL cpuset. E.g. 0-2,7,12-14.
29 echo -e "Create and bind the MySQL process to a specified CPU set.\n"
34 echo -e " MySQL process and delete the CPU set. It does not"
35 echo -e " restart MySQL nor create a new CPU set. (Default:"
[all …]
Dmysql_bootstrap.py6 """Bootstrap mysql.
19 Execute mysql -u <default_user> -p<default_pass> -e
36 Execute mysql -u <default_user> -p<default_pass> -e
57 """Generic mysql command execution exception."""
61 """Class to shell out to mysql.
80 """Wrap the given mysql command.
82 @param cmd: The mysql command to wrap with the --execute option.
86 @param port: The port mysql server is listening on.
88 return ('mysql -u %s -p%s --host %s --port %s -e "%s"' %
94 """Execute a mysql statement on a remote server by sshing into it.
[all …]
/external/bcc/tools/
Ddbslower_example.txt4 dbslower traces queries served by a MySQL or PostgreSQL server, and prints
8 # dbslower mysql
18 # dbslower mysql -m 1000
33 # dbslower mysql -p $(pidof mysql)
44 # dbslower mysql -m 0
47 6.003720 25776 2.363 /* mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80a…
64 Here we can see the MySQL connector initialization and connection establishment,
71 {mysql,postgres}
74 {mysql,postgres} the database engine to use
88 dbslower mysql -p 480 -m 30 # trace MySQL queries slower than 30ms
[all …]
Ddbslower.py3 # dbslower Trace MySQL and PostgreSQL queries slower than a threshold.
6 # {mysql,postgres}
12 # 1) USDT probes, which means it needs MySQL and PostgreSQL built with
15 # PATH_TO_BINARY parameter. (At the moment only MySQL support)
18 # all MySQL or PostgreSQL database processes and uses USDT probes.
35 dbslower mysql -p 480 -m 30 # trace MySQL queries slower than 30ms
36 dbslower mysql -p 480 -v # trace MySQL queries & print the BPF program
37 dbslower mysql -x $(which mysqld) # trace MySQL queries with uprobes
45 parser.add_argument("db", choices=["mysql", "postgres"],
61 if args.db == "mysql":
[all …]
Ddbstat_example.txt4 dbstat traces queries performed by a MySQL or PostgreSQL database process, and
7 # dbstat mysql
29 # dbstat mysql -m 1000
49 # dbstat mysql -p $(pidof mysql) -i 3
99 {mysql,postgres}
102 {mysql,postgres} the database engine to use
117 dbstat mysql -v # display MySQL latencies and print the BPF program
118 dbstat mysql -u # display query latencies in microseconds (default: ms)
119 dbstat mysql -m 5 # trace only queries slower than 5ms
120 dbstat mysql -p 408 # trace queries in a specific process
Ddbstat.py3 # dbstat Display a histogram of MySQL and PostgreSQL query latencies.
6 # [-i INTERVAL] {mysql,postgres}
8 # This tool uses USDT probes, which means it needs MySQL and PostgreSQL built
23 dbstat mysql -v # display MySQL latencies and print the BPF program
24 dbstat mysql -u # display query latencies in microseconds (default: ms)
25 dbstat mysql -m 5 # trace only queries slower than 5ms
26 dbstat mysql -p 408 # trace queries in a specific process
34 parser.add_argument("db", choices=["mysql", "postgres"],
47 if args.db == "mysql":
/external/bcc/man/man8/
Ddbslower.83 dbslower \- Trace MySQL/PostgreSQL server queries slower than a threshold.
5 .B dbslower [-v] [-p PID [PID ...]] [-x PATH] [-m THRESHOLD] {mysql,postgres}
7 This traces queries served by a MySQL or PostgreSQL server, and prints
12 MySQL and PostgreSQL for DTrace support, but which may not be enabled on a
14 Alternatively, MySQL queries can be traced without the USDT support using the
19 CONFIG_BPF, bcc, and MySQL server with USDT probe support (when configuring
28 detect the MySQL or PostgreSQL processes running on the system.
31 Path to MySQL binary. This option allow to MySQL queries even when USDT probes
32 aren't enabled on the MySQL server.
41 Trace MySQL server queries slower than 1 ms:
[all …]
Ddbstat.83 dbstat \- Collect histograms of MySQL/PostgreSQL query latencies.
5 . B dbstat [-v] [-p PID [PID ...]] [-m THRESHOLD] [-u] [-i INTERVAL] {mysql,postgres}
7 This traces queries served by a MySQL or PostgreSQL server, and collects a
12 MySQL and PostgreSQL for DTrace support, but which may not be enabled on a
17 CONFIG_BPF, bcc, and MySQL server with USDT probe support (when configuring
26 detect the MySQL or PostgreSQL processes running on the system.
42 Display histogram of MySQL query latencies:
44 .B dbstat mysql
Dmysqld_qslower.83 mysqld_qslower \- Trace MySQL server queries slower than a threshold.
7 This traces queries served by a MySQL server, and prints those that exceed a
12 MySQL for DTrace support, but which may not be enabled on a given MySQL
17 CONFIG_BPF, bcc, and MySQL server with USDT probe support (when configuring
27 Trace MySQL server queries slower than 1 ms for PID 1981:
48 This adds low-overhead instrumentation to MySQL queries, and only emits output
/external/python/google-api-python-client/docs/dyn/
Ddatastream_v1.projects.locations.streams.html120 …&quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoi…
121 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
122 { # MySQL database.
125 { # MySQL table.
126 …&quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/e…
127 { # MySQL Column.
130 …ype&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: ht…
204 &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
205 …&quot;excludeObjects&quot;: { # MySQL database structure # MySQL objects to exclude from the strea…
206 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
[all …]
Ddatastream_v1alpha1.projects.locations.streams.html123 …&quot;mysqlExcludedObjects&quot;: { # MySQL database structure # MySQL data source objects to avoi…
124 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
125 { # MySQL database.
128 { # MySQL table.
129 …&quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/e…
130 { # MySQL Column.
133 …ype&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: ht…
208 &quot;mysqlSourceConfig&quot;: { # MySQL source configuration # MySQL data source configuration
209 … &quot;allowlist&quot;: { # MySQL database structure # MySQL objects to retrieve from the source.
210 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
[all …]
Ddatastream_v1.projects.locations.connectionProfiles.html133 &quot;mysqlProfile&quot;: { # MySQL database profile. # MySQL ConnectionProfile configuration.
134 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
135 …&quot;password&quot;: &quot;A String&quot;, # Required. Input only. Password for the MySQL connect…
136 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
137 …&quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL
145 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
261 &quot;mysqlProfile&quot;: { # MySQL database profile. # MySQL ConnectionProfile configuration.
262 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
263 …&quot;password&quot;: &quot;A String&quot;, # Required. Input only. Password for the MySQL connect…
264 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
[all …]
Ddatastream_v1alpha1.projects.locations.connectionProfiles.html133 &quot;mysqlProfile&quot;: { # MySQL database profile. # MySQL ConnectionProfile configuration.
134 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
135 …&quot;password&quot;: &quot;A String&quot;, # Required. Input only. Password for the MySQL connect…
136 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
137 …&quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL
145 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
262 &quot;mysqlProfile&quot;: { # MySQL database profile. # MySQL ConnectionProfile configuration.
263 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
264 …&quot;password&quot;: &quot;A String&quot;, # Required. Input only. Password for the MySQL connect…
265 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue479/
DCredentialAppConfig.java18 private Mysql mysql; field in CredentialAppConfig
29 public Mysql getMysql() { in getMysql()
30 return mysql; in getMysql()
33 public void setMysql(Mysql mysql) { in setMysql() argument
34 this.mysql = mysql; in setMysql()
/external/autotest/client/deps/mysql/
Dmysql.py11 …utils.get_file('http://mirror.x10.com/mirror/mysql/Downloads/MySQL-5.0/mysql-5.0.45.tar.gz', tarba…
14 utils.configure('--prefix=%s/mysql --enable-thread-safe-client' \
20 # MySQL doesn't create this directory on it's own.
24 os.mkdir(topdir + '/mysql/var')
30 utils.system('%s/mysql/bin/mysql_install_db' % topdir)
35 tarball = os.path.join(pwd, 'mysql-5.0.45.tar.gz')
/external/oss-fuzz/projects/mysql-server/
Dbuild.sh19 cd mysql-server
24 …OST=1 -DWITH_BOOST=. -DWITH_SSL=system -DFUZZING=1 -DCMAKE_INSTALL_PREFIX=$OUT/mysql -DWITH_UBSAN=1
26 …F -DDOWNLOAD_BOOST=1 -DWITH_BOOST=. -DWITH_SSL=system -DFUZZING=1 -DCMAKE_INSTALL_PREFIX=$OUT/mysql
29 mv $OUT/mysql/bin/fuzz* $OUT/
34 rm -Rf $OUT/mysql/data
35 $OUT/mysql/bin/mysqld --user=root --initialize-insecure --log-error-verbosity=5 --skip-ssl --datadi…
/external/google-cloud-java/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/
DMysqlProfileOrBuilder.java30 * Required. Hostname for the MySQL connection.
42 * Required. Hostname for the MySQL connection.
55 * Port for the MySQL connection, default value is 3306.
68 * Required. Username for the MySQL connection.
80 * Required. Username for the MySQL connection.
93 * Required. Input only. Password for the MySQL connection.
107 * Required. Input only. Password for the MySQL connection.
122 * SSL configuration for the MySQL connection.
134 * SSL configuration for the MySQL connection.
146 * SSL configuration for the MySQL connection.
DMysqlProfile.java25 * MySQL database profile.
80 * Required. Hostname for the MySQL connection.
103 * Required. Hostname for the MySQL connection.
129 * Port for the MySQL connection, default value is 3306.
149 * Required. Username for the MySQL connection.
172 * Required. Username for the MySQL connection.
200 * Required. Input only. Password for the MySQL connection.
225 * Required. Input only. Password for the MySQL connection.
253 * SSL configuration for the MySQL connection.
268 * SSL configuration for the MySQL connection.
[all …]
/external/google-cloud-java/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/
DMysqlProfileOrBuilder.java30 * Required. Hostname for the MySQL connection.
42 * Required. Hostname for the MySQL connection.
55 * Port for the MySQL connection, default value is 3306.
68 * Required. Username for the MySQL connection.
80 * Required. Username for the MySQL connection.
93 * Required. Input only. Password for the MySQL connection.
107 * Required. Input only. Password for the MySQL connection.
122 * SSL configuration for the MySQL connection.
134 * SSL configuration for the MySQL connection.
146 * SSL configuration for the MySQL connection.
DMysqlProfile.java25 * MySQL database profile.
80 * Required. Hostname for the MySQL connection.
103 * Required. Hostname for the MySQL connection.
129 * Port for the MySQL connection, default value is 3306.
149 * Required. Username for the MySQL connection.
172 * Required. Username for the MySQL connection.
200 * Required. Input only. Password for the MySQL connection.
225 * Required. Input only. Password for the MySQL connection.
253 * SSL configuration for the MySQL connection.
268 * SSL configuration for the MySQL connection.
[all …]
/external/googleapis/google/cloud/datastream/v1alpha1/
Ddatastream_resources.proto53 // MySQL database profile.
55 // Required. Hostname for the MySQL connection.
58 // Port for the MySQL connection, default value is 3306.
61 // Required. Username for the MySQL connection.
64 // Required. Input only. Password for the MySQL connection.
70 // SSL configuration for the MySQL connection.
206 // MySQL SSL configuration information.
261 // MySQL ConnectionProfile configuration.
346 // MySQL Column.
351 // The MySQL data type. Full data types list can be found here:
[all …]
/external/google-cloud-java/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/
Ddatastream_resources.proto53 // MySQL database profile.
55 // Required. Hostname for the MySQL connection.
58 // Port for the MySQL connection, default value is 3306.
61 // Required. Username for the MySQL connection.
64 // Required. Input only. Password for the MySQL connection.
70 // SSL configuration for the MySQL connection.
206 // MySQL SSL configuration information.
261 // MySQL ConnectionProfile configuration.
346 // MySQL Column.
351 // The MySQL data type. Full data types list can be found here:
[all …]

12345678910>>...15