B4A Tutorial Connect Android to MySQL Database Tutorial - Erel    
Sep 20, 2018   
(29 reactions) it is a MySQL database.
A tutorial for connecting to SQL Server is available here.
Android cannot connect... the database user to SELECT queries (in MySQL configuration).
The PHP code:
<?php
$databasehost...
link:
Can you pos the error as appears in the log in a new thread please
the error message is just: unau...
link:
When trying to access there is an error message: unauthorized, how do I fix it ?, thx
Please start...
link: Can you pos the error as appears in the log in a new thread please...
B4J Code Snippet [Project Template] jRDC2 Server (SQLite, MySQL, MS SQL, Firebird, Postgresql, DBF) - aeric    
Feb 20, 2025   
(16 reactions)
Updates
jRDC2 Server v2 is available
jRDC2 Server Template
Version: 1.12 (based on jRDC2 version 2.23)
Create a new project and run it!
To be accompanied with jRDC2 Client Template
Introduction:
To be edited
147014
Version 1.00 : 9KB
Version 1.11 : 127KB
Version 1.12 : 127KB
Version 2.00 (beta) : 127KB
Note: If you think the latest version is big, you can use version 1.00 otherwise yo...
B4A Example [B4XPages] jRDC2 + MySql CRUD + Login - josejad    
Apr 24, 2022   
(33 reactions) when this post have been write)
Steps:
- Import the sql file to you database. You can use phpMyAdmin, HeidiSQL, etc…
- Configure jRDC2 server. Open the attached B4J file and change your user and... adapt the B4XPages + B4XDrawer example.
I think I’ve seen more examples with php + mysql, but no... we need?
- A mysql database. You can use XAMPP, LARAGON or any other project to set it up. See attached a sql file to import in your database. The database name will be B4X.
- B4J to create the jRDC2...
B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 2: MySql) - KMatle    
Jun 4, 2018   
(18 reactions)'re ready to do some MySql stuff
First we must create a table. Assuming we have a hosted website wth php and MySql there is a admin tool (see documentation of your hoster) to create databases and tables.
For my example I have created a table called "Persons" with 2 culumns: "name....
Connecting to MySql
Edit your script again. First we have to connect to our database:
<?
$host... = "password";
$con = mysql_connect($host,$user,$pw) or die(mysql_error());
mysql_select_db...
B4J Code Snippet [SQL] DButils v.2.5 for SQLite and MySQL - peacemaker    
Oct 11, 2023   
(5 reactions) classes), but MySQL also, due to big size that now is more convenient to see via web-browser... DButils2 from Erel: https://www.b4x.com/android/forum/threads/b4x-dbutils-2.81280
module with MySQL... to switch the db type (SQLite or MySQL) during usage:
'MySQL additions:
'Added to give EscapeField more flexibility
Public Sub SetEscapeChars(MySQL As Boolean)
If MySQL Then
escapeCharStart = "`"
escapeCharEnd = "`"
isMySQL = True
Else...
B4J Code Snippet mysql-connector-java - Mashiane    
Mar 9, 2025   
(1 reaction)Hi Fam
In case someone is looking for these... been searching for mysql-connector-java related stuff
https://mvnrepository.com/artifact/mysql/mysql-connector-java...
B4J Tutorial [Web][SithasoDaisy] Deciding on Shared Hosting vs VPS Hosting - The Vehicle Expense Tracker WebApp Use Case (PocketBase & MySQL) - Mashiane    
Apr 30, 2024 (PocketBase) and also a new version using Secure Api Key MySQL REST API.
When developing webapps, one...
This webapp helps you learn how to use MySQL REST API using a secure Api Key, this you can deploy shared... these applications is that they share 99.99% code. Really? Yes.
Let me explain
1. In the MySQL REST API example... the MySQL REST API example, the connection string is https://localhost/sdvetmysqlapi vs the PocketBase...
link: (PocketBase) and also a new version using Secure Api Key MySQL REST API.
When developing webapps, one...
B4J Tutorial SQLite or MySQL database - peacemaker    
Oct 12, 2023   
(4 reactions) copying is needed any time when changed data.
Server database like MySQL, MariaDB can be explored by web-db-managment tools, like "phpMyAdmin", that requires to have a web-server and PHP installed, configured, db user rights and user privileges done...
MySQL needs JDBC driver connector... tool, like Adminer https://www.adminer.org/ that supports SQLite db as well as default MySQL one.
And... version 4.8.1 (can be updated from the project web-site), used for access to MySQL or other web-base...
B4A Tutorial For beginners: How to communicate with a server using httputils2 (Part 3: php, MySql & JSON) - KMatle    
Jul 7, 2014   
(18 reactions)-with-a-server-using-httputils2-part-2-mysql.42456/
Well. Today we want to:
- make an app which calls... how we work with single parms and a list of)
In tutorial 2 I have created a table with two culumns... a member of a boygroup. It helps us to handle the data very simple.
In my example... = mysql_query("SELECT name, age FROM persons");
$rows = array();
while($r = mysql_fetch_assoc($q))
{
$rows = $r;
}
print json_encode($rows...
B4J Code Snippet MySQL / MariaDB jar, driver and jdbc url - Erel    
Aug 13, 2025   
(13 reactions)MySQL
1. Jar is available here: https://dev.mysql.com/downloads/connector/j/
Choose the Platform Independent option.
Put the jar in the additional libraries folder.
2. Add jSQL library and a reference to the jar (change version as needed):
#AdditionalJar: mysql-connector-j-9.4.0
3. Driver + url:
sql.Initialize2("com.mysql.cj.jdbc.Driver", "jdbc:mysql://localhost....
sql.Initialize2("org.mariadb.jdbc.Driver", "jdbc:mariadb://localhost/database_here...
Page: 1  
2  
3  
4  
5  
6