MySQL vs. HSQL
MySQL vs. HSQL
Can I use The Base in openoffice.com(HSQL) as a sibsitute for MYSQL? If so how do you add it to your PHP/HTML?
Last edited by Bobiscool on Thu Jul 16, 2009 4:15 am, edited 1 time in total.
Re: MySQL vs. HSQL
You could substitute MySQL with a HSQL server. This may be useful for Java programmers. The HSQLDB which can be wrapped in OOo's database documents is not accessible from any other software. It's a desktop database for a single application, in a single file, for a single almighty user.
You could use Base as an alternative way to access your existing MySQL, create pretty reports to print on paper or pdf, input forms attached to office documents and you can feed spreadsheet calculations with data.
Base is not a full featured database application. Base is just a bridge between databases and office documents. Everything is tied to ODF documents.
[any server] <--> [Base] --> [Writer/Calc&Co]
The embedded HSQL data get extracted to a temporary directory before they are served by a HSQL server.
You could use Base as an alternative way to access your existing MySQL, create pretty reports to print on paper or pdf, input forms attached to office documents and you can feed spreadsheet calculations with data.
Base is not a full featured database application. Base is just a bridge between databases and office documents. Everything is tied to ODF documents.
[any server] <--> [Base] --> [Writer/Calc&Co]
The embedded HSQL data get extracted to a temporary directory before they are served by a HSQL server.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 1
- Joined: Sun Aug 30, 2009 3:45 am
- Location: NSW, Australia
Re: MySQL vs. HSQL
One reason for setting up Database is for other users to have read or write access to some of the data. Eventually like make available when logging in from elsewhere...
Villeroy advised: "The HSQLDB which can be wrapped in OOo's database documents is not accessible from any other software. It's a desktop database for a single application, in a single file, for a single almighty user."
Is OOo database NOT available to other users after they log themselves in on same pc, even if use OS permit for them to have read/write access ?
Villeroy advised: "The HSQLDB which can be wrapped in OOo's database documents is not accessible from any other software. It's a desktop database for a single application, in a single file, for a single almighty user."
Is OOo database NOT available to other users after they log themselves in on same pc, even if use OS permit for them to have read/write access ?
ooo OpenOffice.org 3.1.0 (Novell Edition) 000310m11 (Build:9399)
OS: SUSE Linux Enterprise Desktop 10 (i586) sp2
OS: SUSE Linux Enterprise Desktop 10 (i586) sp2
Re: MySQL vs. HSQL
Not in this way.s OOo database NOT available to other users after they log themselves in on same pc, even if use OS permit for them to have read/write access ?
If odb files open in one OOo creates a lock file, if others try to open it file opens as read only.
No other measures to stop opening files.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
Hungarian forum co-admin
Re: MySQL vs. HSQL
Is this valid for HSQLDB 2.x also?
Only one user can connect to the database at the same time?
As I understand ooo 3.5 will include HSQLDB 2.x.
If you need access from 2 or 3 computers at the same time, is mysql the choice of db-engine?
Only one user can connect to the database at the same time?
As I understand ooo 3.5 will include HSQLDB 2.x.
If you need access from 2 or 3 computers at the same time, is mysql the choice of db-engine?
OOo 3.0.X on openSuse 11
Re: MySQL vs. HSQL
The problem is the local file access when the embedded database gets installed (extracted) every time you "open" the database document.Zeke_3 wrote:Is this valid for HSQLDB 2.x also?
Only one user can connect to the database at the same time?
As I understand ooo 3.5 will include HSQLDB 2.x.
If you need access from 2 or 3 computers at the same time, is mysql the choice of db-engine?
I run HSQLDB 2 in a mixed Win/Lin network with Base forms and Calc reports. The same should work with any other database engine such as MySQL, Postgre, Oracle, MS SQL Server, H2 and many, many more.
You can also run HSQLDB 1.8 as a server for multiple users.
The embedded HSQLDB 2 in OOo 3.5 will be the same unstable trash as the current one (with more featues of course). The embedded mode is the problem, not HSQLDB
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: MySQL vs. HSQL
The default 'embedded database' configuration is limited to a single-user which currently requires a specific version of HSQLDB (1.8.0) as delivered with OOo/LibO 3.4.x and earlier. But that's not you're only configuration option with HSQLDB. When connected to the same, built-in, HSQLDB engine through the built-in JDBC driver, you can choose between single-user and multi-user modes. These modes are setup as 'existing databases' with Base and are completely stable. In 'server' mode, HSQLDB supports multiple, simultaneous, read/write users through Base or any other front-end. See my signature links below for details.Zeke_3 wrote:Is this valid for HSQLDB 2.x also?
Only one user can connect to the database at the same time?
See aslo: Base+RDBMS Pros/Cons
.
AOO 4.1.x; LO 4.2.x; Windows 7/8 64-bit
Warning: Avoid embedded databases --> Solution: Adopt a portable 'split database' folder
Soli Deo gloria
Warning: Avoid embedded databases --> Solution: Adopt a portable 'split database' folder
Soli Deo gloria