B4A Library JdbcSQL - Directly connect to remote databases - Erel    
Sep 17, 2017   
(35 reactions)   
tags: Conector SQL, RemoteDB, remote db, jDBCSQL, sql connect local remoteThis is a port of B4J jSQL library.
The SQL type was renamed to JdbcSQL and ResultSet was renamed to JdbcResultSet, this allows using it together with the SQL library.
SQL library - local SQLite databases.
JdbcSQL - Any remote SQL database with a supported JDBC driver. MySQL and MS SQL are supported. Others are also supported.
The recommended method to connect to remote databases is jRDC2: https://www.b4x.com/android/forum/threads/61801/#content
Connecting to the database directly has...
B4J Tutorial ✅ JDBCSQL Connector/J - Connect directly to MySQL, MSSQL, PostgreSQL, MariaDB and Oracle databases - Peter Simpson    
Mar 13, 2020   
(29 reactions)   
tags: JDBCHello fellow B4X'ers,
Here is some example code for connecting your B4J projects to 5 different ...
link:
can you please share your northwind db, perhaps its the most up to date.
Hello @Mashiane, please l...
link:
Hi Peter,
can you please share your northwind db, perhaps its the most up to date.
Thanks.
I'...
link: Hi Peter,
can you please share your northwind db, perhaps its the most up to date.
Thanks....
B4A Question How to connect to MSSQL with JdbcSQL - catyinwong    
Jul 23, 2018Not quite understand what changes should be made if I want to connect to a MSSQL
#AdditionalJar: jtds-1.3.1
Public mysql As JdbcSQL
Private driver As String = "com.mysql.jdbc.Driver" <- what to change??
Private jdbcUrl As String = "jdbc:mssql://192.168.0.6/test"
Private Username As String = "username"
Private Password As String = "password"...
B4A Question JdbcSQL app works in debug but not in release - atiaust    
Jul 28, 2021Hi All,
My B4A app uses JdbcSQL to talk to a MySQL database on my local RPI server and performs flawlessly in debug mode but crashes in release mode.
*** Service (starter) Create ***
** Service...
link: One of the differences between debug and release is that the NetworkOnMainThread check is disabled i...
link: Thanks Erel,
This has allowed me to run the app in release mode.
For my education, what causes thi...
link: Try this: Workaround the NetworkOnMainThread exception
Maybe this is the real error and it is caug...
B4A Question Unknown problem while using ExecNonQueryBatch, JdbcSQL [Solved] - Anser    
Aug 24, 2023 possible errors ?
I am using JdbcSQL to connect to remote MySQL database
Here is the code I used to do... As String
Private mysql As JdbcSQL
End Sub
Sub Upload_Click
Dim Batch As List
Batch...
link:
The connection may be already broken.
I think better make a new connection and close after using it...
link: The connection may be already broken.
I think better make a new connection and close after using it ...
link:
I don't see this is a good approach to put this code here.
You are calling mysql before the pr...
B4A Question jdbcSQL - Unable to connect to MySQL Server ver 8.0.30 - Anser    
Sep 21, 2022Hi,
As said in the title, I am using jdbcSQL to connect to a MySQL server ver 8.0.30
I understand... a different database, but residing on the same server. This app does not use jdbcSQl instead it uses...
link: This could be the solution ?
https://www.b4x.com/android/forum/threads/mysql-connect.143142/post-90...
link:
I am using jdbcsql with a mysql 5.1.43 server in an B4A app with no problems. I already...
link: I am using jdbcsql with a mysql 5.1.43 server in an B4A app with no problems. I already...
B4A Question jdbcSQL connection to mysql debug mode works correctly but release mode doesn't work - mostosoft    
Apr 19, 2019 As JdbcSQL
Dim jsql As JdbcResultSet
sql.Initialize2("com.mysql.jdbc.Driver", "jdbc...
B4A Question [Solved] JdbcSQL and SQL Server - makis_best    
Oct 23, 2018   
(2 reactions)Hi
I read allot inside the forum about how to connect jdbcSQL with Sql server but I can't understand it.
All info are split in several post confusing very much specially newbies like me.
There are no complete tutorial - example saying from start to end how to do it?
Thank you....
link: May I suggest you to start a new thread? Eventually sporting a link to the current one, if you find that your problem is related.
Thi...
link: mode.
The Online Database is MSSqlServer using JdbcSQL and the local database on the device is SQLlite...
B4A Question JdbcSQL - Insert error - fasilosman    
Aug 17, 2021Hi all,
I used sample code to connect JdbcSQL from the link JdbcSQL forum link
The ExecQueryAsync works find. But when I use ExecNonQuery it returns and error.
Code and error message as follows...
link:
That's expected.
Check this: https://stackoverflow.com/questions/16515249/mysql-unknown-system...
link:
Also I tested "ExecQueryAsync" as below. But it says
That's expected.
Check this: h...
link:
If it is a remote server then you should only use the async methods.
Yes. My connection code be...
B4A Question CLOSED / SOLVED JdbcSQL - A little help please - Robert Valentino    
Oct 4, 2020My first time at trying to connect to a MySQL database and I am trying this example: https://www.b4x.com/android/forum/threads/jdbcsql-directly-connect-to-remote-databases.84016/
And I keep getting...
link: Thank you,
In my mind, you have come a long way toward saving world poverty and maybe suffering.
S...
link: No, no intention to judge or say it bad.
We have a thread of 30 posts here now. I am trying to save ...
link:
But with jdbc, you ONLY are to enter the server name without the SQL instance, and the instance is ...
Page: 1  
2  
3  
4  
5