Thank you for your responses.
I am testing using a database with a single table created with the mysql
command line client. This table has 3 fields, an auto-incrementing primary
key, and two fields each defined as varchar(50). The table was defined
using the mysql command line client, and then 3 records were inserted into
the table. I also used the mysql command line client to ensure that I
could retrieve all 3 records using the command:
select * from test1;
I do not have a /etc/my.cnf file.
The only line that is not a comment in my /etc/mysql/my.cnf file is:
I should also mention that I am using XAMPP for the installation of MySQL
and that this has also installed an apache web server and PHPMyAdmin which
are all working correctly. Should this make any difference to the way that
LibreOffice connects via the JDBC connector?
PHPMyAdmin reports the server as:
- Server: Localhost via UNIX socket
- Server type: MariaDB
- Server connection: SSL is not being used [image: Documentation]
- Server version: 10.4.6-MariaDB - Source distribution
- Protocol version: 10
- User: michael@localhost
- Server charset: cp1252 West European (latin1)
Is this a hint that sockets are being used and not port 3306 that
LibreOffice is expecting? If so, how should I fix this?
On Mon, 27 Jul 2020 at 18:22, Alexander Thurgood <email@example.com>
Le 27/07/2020 à 09:06, Michael Manning a écrit :
Issues arise when attempting to create a new database within Libreoffice.
When I test connecting to a database, I get the following error message:
SQL Status: 08S01
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago.
driver has not received any packets from the server.
As Robert has indicated, could you be clearer on what you mean by
"creating a new database within LibreOffice ?"
(1) trying to create a new database schema from within a running LO
instance ? As Robert has mentioned, you can't actually do this, the DB
schema needs to be created from the msyql command line or an alternative
GUI tool (such as e.g. phpmyadmin) ;
(2) trying to connect to an existing mysql DB schema, and receiving the
error message you have indicated ?
The error message itself might be slightly misleading, as this is
usually displayed when you can not even connect to the mariadb/mysql
What does your /etc/mysql/my.cnf or /etc/my.cnf contain next to :
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy