Params property
|
Previous Top Next |
...
|
[direct]
|
ssl-key=./client-key.pem
|
ssl-cert=./client-cert.pem
|
ssl-ca=./cacert.pem
|
ssl-capath=./
|
ssl-cipher=ALL:-AES:-EXP
|
connect_timeout=60
|
read_timeout=60
|
write_timeout=60
|
...
|
[client]
|
connect_timeout=60
|
read_timeout=60
|
host=localhost
|
port=3306
|
user=root
|
password=
|
|
[embedded]
|
basedir=c:/mysql
|
write_timeout=60
|
...
|
· | If you use the Direct driver, you may set and override the timeout keys and ssl paths if you have a need to use SSL, but this is not compulsory.
|
· | If you use the Embedded driver and have no embedded options set in your my.cnf files on your machine you will be highly advised to set at least a basedir for your embedded driver, so it can find it's database. You may also wish to set other mysql server properties if your database directory structure is not the default mysql database directory structure, for example specifying a datadir and language etc. Besides this you may set the timeouts and SSL paths as well, but this is not compulsory.
|
· | If you use the Client driver, you may override the host, username, password and port properties of the TMySQLServer component and also set and override the timeout keys and ssl paths if you have a need to use SSL, but this is not compulsory.
|