DBD::mysql Makefile.PL options

Complete list of DBD::mysql Makefile.PL options for version 4.027.
In the terminal, change to the source directory and execute the below command.

# perl Makefile.PL --help

 

Usage: perl Makefile.PL [options]

Possible options are:

--cflags=<flags>


Use <flags> for running the C compiler; defaults to the value of "mysql_config --cflags" or a guessed value
--libs=<libs>
Use <libs> for running the linker; defaults to the value of "mysql_config --libs" or a gussed value
--force-embedded
Build version of driver supporting mysqlEmb
--embedded=<libs>
Use these libs when building the embedded version of DBD (with --force-embedded). Defaults to the value of "mysql_config --embedded".
--testdb=<db>
Use the database <db> for running the test suite; defaults to test
--testuser=<user>
Use the username <user> for running the test suite; defaults to no username
--testpassword=<pwd>
Use the password <pwd> for running the test suite; defaults to no password
--testhost=<host>
Use <host> as a database server for running the test suite; defaults to localhost.
--testport=<port>
Use <port> as the port number of the database; by default the port number is choosen from the mysqlclient library
--mysql_config=<path>
Specify <path> for mysql_config script
--with-mysql=<path>
Specify <path> for the root of the MySQL installation.
--nocatchstderr
Supress using the "myld" script that redirects STDERR while running the linker.
--nofoundrows
Change the behavior of $sth->rows() so that it returns the number of rows physically modified instead of the rows matched
--ps-protocol
Toggle the use of driver emulated prepared statements prepare, requires MySQL server >= 4.1.3 for server side prepared statements, off by default
--bind-type-guessing
Toggle the use of driver attribute mysql_bind_type_guessing. This feature makes it so driver-emulated prepared statements try to "guess" if a value being bound is numeric, in which case, quotes will not be put around the value.
--ssl
Enable SSL support
--help
Print this message and exit
All options may be configured on the command line. If they are not present on the command line, then mysql_config is called (if it can be found): mysql_config --cflags mysql_config --libs mysql_config --embedded mysql_config --testdb and so on. See DBD::mysql::INSTALL for details.

 
 
 
 
You may go back to the following section.
Installing DBD::mysql