SQLITE3: Error: malformed database schema (MmapStatus) - near "(": syntax error - sqlite

I am trying to open the "Extension Activity" database from Google Chrome and kept getting this error. I get the same error with sqlite3, sqliteman and sqlitebrowser. Which is odd because I am able open and query the Cookies DB. I am using Chrome 59 on Linux with Ubuntu 14.04 and sqlite 3.8.2.
Error: malformed database schema (MmapStatus) - near "(": syntax error

The version Google Chrome 59 is using is newer than my version. I was able to open and query it by downloading latest "Precompiled binaries for Linux" here https://www.sqlite.org/download.html.

Related

TYPO3 12.1.3 - getting 503 code after attempt login by LoginForm on frontend

Backend works correct. Problem is only on frontend with additionally Login Form on custom login site.
I getting 503 error after trying login by "Login Panel". It doesn't matter right or wrong login data.
I turned off the redirect on backend but I still get this same error with log below:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1064: An exception occurred while executing a query: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')))) AND (fe_users.deleted = 0)' at line 1 | Doctrine\DBAL\Exception\SyntaxErrorException thrown in file /public/my_site_name/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php in line 86. Requested URL: https://my-domain-name.pl/login?tx_felogin_login%5Baction%5D=login&tx_felogin_login%5Bcontroller%5D=Login&cHash=9238b3d3ba4dbeb2c75d778a5cd1f17b
I know it is probably cause by third party extension like bootstrap (bk2k). But I don't believe I need to rewrite manual syntax in my mariadb. it's ridiculous.
Im checked requirements for this version of TYPO3. And my requirements are ok. Im checked my database (MariaDB) by mysqlcheck and all is ok. Checked version of MariaDB and its ok.
Im beginner in TYPO3 so please be understanding.
root#database-deb:/home/marlon# mysql -V
mysql Ver 15.1 Distrib 10.7.3-MariaDB, for debian-linux-gnu (x86_64) using readline EditLine wrapper
I looked in wrong places. On TYPO3 site you can see:
System requirements PHP 8.1 MariaDB 10.3+ / MySQL 8.0+ / PostgreSQL
10.0+ / SQLite 3.8.3+
but if you see details:
Requirements on TYPO3 site
MariaDB >= 10.3.0 <= 10.6.99 is not the same MariaDB 10.3+
I guess, due to incompatible version of mariadb...
A few hours later... I create new one VM with older MariaDB.
root#mariadb-10-6:/home/marlon# mysql -V
mysql Ver 15.1 Distrib 10.6.11-MariaDB, for debian-linux-gnu (x86_64) using readline EditLine wrapper
Nothing changed. Still same error.

Liquibase with Maven using Teradata

I am getting the following error, while running the command: mvn liquibase:update
liquibase.exception.databaseexception:connection could not be created to jdbc:teradata://org.sys.db.com/database=sample_DEV with driver com.teradata.jdbc.TestDriver [Teradata Database] [Terajdbc 16.20.00.00] [Error] [SQLState HY000] Logons are only enabled for user DBC.
We are using maven version:3.6.3, Liquibase version:4.3.0 and teradata ver:16.20.00.00 with dbchangelog.sql
The same code is working fine for nornal project, i mean without maven.
"com.teradata.jdbc.TestDriver" is not the class name for the Teradata JDBC Driver. The actual class name is "com.teradata.jdbc.TeraDriver".
Version 16.20.00.00 of the Teradata JDBC Driver was not released to the public. That was a pre-release build.
You can download the current supported version of the Teradata JDBC Driver from here:
https://downloads.teradata.com/download/connectivity/jdbc-driver
Here is a link to the Teradata documentation for database error 3055 "Logons are only enabled for user DBC."
https://docs.teradata.com/r/GVKfXcemJFkTJh_89R34UQ/Si5mPxDLg2vugG5MnDbBoQ

After Realm Java upgrade and downgrade, crash with RealmFileException: Unsupported Realm file format version. line 101 Kind: ACCESS_ERROR

I upgraded Realm version from io.realm:realm-gradle-plugin:5.1.0 to 10.8.1 with no issue. However, then I had to test an earlier version of my app, so I completely uninstalled the app that used 10.8.1 from the phone and reinstalled the app that used Realm 5.1.0. I then get a crash when opening a Realm for the first time with the following error:
io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.my.app/files/fileName.realm':
Unsupported Realm file format version. (Unsupported Realm file format version) (/data/data/com.my.app/files/fileName.realm)
in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp
line 101 Kind: ACCESS_ERROR.
It's like the file already exists, even after a fresh install.
I fixed this by adding Realm.delete(configuration) when the app - the one using 5.1.0 - first started just to manually delete the file the exception was complaining about. Then I removed the Realm.delete line and did another fresh install. Everything worked fine after that.

Artifactory upgrade failing due to DB conversion error

I'm trying to upgrade an Artifactory server but it seems to fail due to a DB conversion error.
2021-06-23T08:05:01.538Z [jfrt ] [WARN ] [ae0b35be4a9501f6] [o.j.s.u.DbStatementUtils:62 ] [ocalhost-startStop-2] - Failed to execute query: ERROR: syntax error at or near "UNLOGGED"
Position: 35:
ALTER TABLE distributed_locks SET UNLOGGED
2021-06-23T08:05:01.544Z [jfrt ] [ERROR] [ae0b35be4a9501f6] [.s.d.v.c.DbSqlConverterUtil:94] [ocalhost-startStop-2] - Could not convert DB using v225_alter_distributed_locks_set_unlogged converter due to ERROR: syntax error at or near "UNLOGGED"
Position: 35
org.postgresql.util.PSQLException: ERROR: syntax error at or near "UNLOGGED"
Position: 35
We are trying to upgrade from version 6.12.0 to the latest 7.19.9 (current latest).
Updates to later 6.x work ok...i'm currently up to 6.23.21 and attempts to 7.16.3 and 7.19.9 show the same DB migration error.
Attempts to update from earlier 6.x versions to other supported 7.x versions also show the same error.
We're running RHEL 7.9 and using RPM based installations...let me know if any more info is needed.
Any help is appreciated!
Artifactory 7.19 supports Postgresql 9.5 and higher.
UBLOGGED table is supported since Postgresql 9.1, however ALTER table SET UNLOGGED is supported since Postgresql 9.5

djangocms installer Operational Error

After running djangocms installer I am getting this error:
Exception Value:
no such table: cms_urlconfrevision
I'm using sqlite default db. I selected stable for my django version. I've tried installing this numerous times and keep getting the same error. Any idea how to fix this?

Resources