<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhilDaintree</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhilDaintree"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/PhilDaintree"/>
	<updated>2026-10-17T22:01:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Database/Drivers/MySQL_Native/Connector/C-OOo-Connect-URL&amp;diff=146196</id>
		<title>Database/Drivers/MySQL Native/Connector/C-OOo-Connect-URL</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Database/Drivers/MySQL_Native/Connector/C-OOo-Connect-URL&amp;diff=146196"/>
		<updated>2009-11-09T08:12:39Z</updated>

		<summary type="html">&lt;p&gt;PhilDaintree: /* Connection URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== MySQL Connector/OpenOffice.org Connection URL ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;All: please comment!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This suggestion is based on the MySQL Connector/J documentation and [http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html the MySQL C-API documentation] as well as the [http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XDriver.html#connect XDriver::connect] and related documentation. &lt;br /&gt;
&lt;br /&gt;
=== Connection URL ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;sdbc:mysql:mysqlc:[host[:port]]/database&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The value of host may be either a hostname or an IP address. If host is NULL or the string &amp;quot;localhost&amp;quot;, a connection to the local host is assumed. For Windows, the client connects using a shared-memory connection, if the server has shared-memory connections enabled. Otherwise, TCP/IP is used. For Unix, the client connects using a Unix socket file. &lt;br /&gt;
&lt;br /&gt;
For local connections, you can also influence the type of connection to use with the MYSQL_OPT_PROTOCOL or MYSQL_OPT_NAMED_PIPE options to mysql_options(). The type of connection must be supported by the server. For a host value of &amp;quot;.&amp;quot; on Windows, the client connects using a named pipe, if the server has named-pipe connections enabled. If named-pipe connections are not enabled, an error occurs.&lt;br /&gt;
&lt;br /&gt;
If the hostname is not specified, it defaults to 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
If the port is not specified, it defaults to 3306, the default port number for MySQL Servers&lt;br /&gt;
&lt;br /&gt;
If the database is not specified, the connection will be made with no default database.&lt;br /&gt;
&lt;br /&gt;
=== Connection Properties ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Property Name  &lt;br /&gt;
! Definition &lt;br /&gt;
! Comments &lt;br /&gt;
! Supported in GUI&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The user to connect as&lt;br /&gt;
|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The password to use when connecting&lt;br /&gt;
|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;Socket&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The UNIX domain socket or Windows named pipe to use when connecting&lt;br /&gt;
| If socket is not empty, the string specifies the socket or named pipe that should be used. Note that the host parameter determines the type of the connection.&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 3.0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| long Charset&lt;br /&gt;
| The name of the character set to use as the default character set.&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html mysql_options()]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| boolean Compression&lt;br /&gt;
| Use compression protocol&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html CLIENT_COMPRESS]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| long ConnectionTimeout&lt;br /&gt;
|&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html mysql_options()]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| string Debug&lt;br /&gt;
| For developers: URL with debug parameters&lt;br /&gt;
| Turn on debug output - TBD&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Support through the GUI ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;The OO.org GUI has been frozen for the 3.0 Release. No changes are possible.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The type column shows the meta type and the minimum input length that should be accepted by the GUI. The GUI may use broader input fields to beautify the layout.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Input field&lt;br /&gt;
! OOo version&lt;br /&gt;
! Property or URL&lt;br /&gt;
! Meta Type&lt;br /&gt;
! Constraints / Checks&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 16 characters&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Database&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| &lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Host&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| &lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Port&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| numeric, 5 numbers&lt;br /&gt;
| The user can either specify a port or a socket. Input at Port disables Socket input field.&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Socket&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 3.0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| The user can either specify a port or a socket. Input at Socket disables Port input field.&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|- &lt;br /&gt;
| Charset&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
|- &lt;br /&gt;
| Compression&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
|- &lt;br /&gt;
| ConnectionTimeout&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| numeric, 4 numbers&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| Debug&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 64 characters&lt;br /&gt;
| TDB - discuss if this should be only available with debug builds&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PhilDaintree</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Database/Drivers/MySQL_Native/Connector/C-OOo-Connect-URL&amp;diff=146195</id>
		<title>Database/Drivers/MySQL Native/Connector/C-OOo-Connect-URL</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Database/Drivers/MySQL_Native/Connector/C-OOo-Connect-URL&amp;diff=146195"/>
		<updated>2009-11-09T08:12:13Z</updated>

		<summary type="html">&lt;p&gt;PhilDaintree: /* MySQL Connector/OpenOffice.org Connection URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== MySQL Connector/OpenOffice.org Connection URL ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;All: please comment!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This suggestion is based on the MySQL Connector/J documentation and [http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html the MySQL C-API documentation] as well as the [http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XDriver.html#connect XDriver::connect] and related documentation. &lt;br /&gt;
&lt;br /&gt;
=== Connection URL ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;sdbc:mysql:mysqlc:[host[:port]]/database&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The value of host may be either a hostname or an IP address. If host is NULL or the string &amp;quot;localhost&amp;quot;, a connection to the local host is assumed. For Windows, the client connects using a shared-memory connection, if the server has shared-memory connections enabled. Otherwise, TCP/IP is used. For Unix, the client connects using a Unix socket file. &lt;br /&gt;
&lt;br /&gt;
For local connections, you can also influence the type of connection to use with the MYSQL_OPT_PROTOCOL or MYSQL_OPT_NAMED_PIPE options to mysql_options(). The type of connection must be supported by the server. For a host value of &amp;quot;.&amp;quot; on Windows, the client connects using a named pipe, if the server has named-pipe connections enabled. If named-pipe connections are not enabled, an error occurs.&lt;br /&gt;
&lt;br /&gt;
If the hostname is not specified, it defaults to 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
If the port is not specified, it defaults to 3306, the default port number for MySQL Servers&lt;br /&gt;
&lt;br /&gt;
If the database is not specified, the connection will be made with no default database.&lt;br /&gt;
&lt;br /&gt;
=== Connection Properties ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Property Name  &lt;br /&gt;
! Definition &lt;br /&gt;
! Comments &lt;br /&gt;
! Supported in GUI&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The user to connect as&lt;br /&gt;
|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The password to use when connecting&lt;br /&gt;
|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| string &amp;#039;&amp;#039;&amp;#039;Socket&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The UNIX domain socket or Windows named pipe to use when connecting&lt;br /&gt;
| If socket is not empty, the string specifies the socket or named pipe that should be used. Note that the host parameter determines the type of the connection.&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 3.0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| long Charset&lt;br /&gt;
| The name of the character set to use as the default character set.&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html mysql_options()]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| boolean Compression&lt;br /&gt;
| Use compression protocol&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html CLIENT_COMPRESS]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| long ConnectionTimeout&lt;br /&gt;
|&lt;br /&gt;
| See also [http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html mysql_options()]&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|-&lt;br /&gt;
| string Debug&lt;br /&gt;
| For developers: URL with debug parameters&lt;br /&gt;
| Turn on debug output - TBD&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Support through the GUI ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;The OO.org GUI has been frozen for the 3.0 Release. No changes are possible.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The type column shows the meta type and the minimum input length that should be accepted by the GUI. The GUI may use broader input fields to beautify the layout.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Input field&lt;br /&gt;
! OOo version&lt;br /&gt;
! Property or URL&lt;br /&gt;
! Meta Type&lt;br /&gt;
! Constraints / Checks&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 16 characters&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Database&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| &lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Host&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| &lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Port&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 2.4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| URL&lt;br /&gt;
| numeric, 5 numbers&lt;br /&gt;
| The user can either specify a port or a socket. Input at Port disables Socket input field.&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Socket&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;&amp;gt;= 3.0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 32 characters&lt;br /&gt;
| The user can either specify a port or a socket. Input at Socket disables Port input field.&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|- &lt;br /&gt;
| Charset&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
|- &lt;br /&gt;
| Compression&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
| TBD&lt;br /&gt;
|- &lt;br /&gt;
| ConnectionTimeout&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| numeric, 4 numbers&lt;br /&gt;
| none&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|-&lt;br /&gt;
| Debug&lt;br /&gt;
| &amp;gt;= 3.1&lt;br /&gt;
| Property&lt;br /&gt;
| alphanumeric, &amp;gt;= 64 characters&lt;br /&gt;
| TDB - discuss if this should be only available with debug builds&lt;br /&gt;
| GUI may use a broader input field.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PhilDaintree</name></author>
	</entry>
</feed>