mysql

  1. peacemaker

    B4J Tutorial SQLite or MySQL database

    For any project where a database is required - it's very important to have possibility to see the database data, to debug the app. If the app is used on a remote server host, and the database is getting bigger and bigger - it's not comfortable to see file-based SQLite database, as file copying...
  2. peacemaker

    B4J Code Snippet [SQL] DButils v.2.5 for SQLite and MySQL

    One my project has to be using not only SQLite database (actually, two different ones, as separate classes), but MySQL also, due to big size that now is more convenient to see via web-browser remotely (without downloading big SQLite db file). So, i have combined 2 DBUtils modules: latest...
  3. G

    Android Question JSON and SQL Server/MySQL

    Hello. I am a newbie. I have been tasked with writing a new application for collecting shop floor information such as clocking in and out, starting a job, ending a job etc. I've already written the first version in VB.NET and Windows Forms. The shop floor have touchscreens so this works. The SQL...
  4. F

    Android Question SQLite & MySQL Connection

    Hello, today is my 3rd day using this wonderful tool, and I would like to create a simple program, for example, an Product Inventory. Let me explain: The program should have the capability to establish a connection via jrdc2 to a server, enabling the seamless transfer and creation of a table...
  5. Justcooldev

    B4J Library MysqlConn : Mysql connection library

    Hi ! New library ! MysqlConn. It is fully written in B4X ! This library is compatible with B4J & B4A. It depends on OkHttpUtils2 and a PHP Script. PHP Script : <?php $host_name = $_GET['Hostname']; $database = $_GET['DbName']; $user_name = $_GET['username']; $password = $_GET['password']...
  6. Dwnr80

    Android Question Slow to connect directly to MySQL with mobile data, not wifi.

    Hi. I'm trying to make a small app just for me that connects directly to our MySQL-database. I've tried multiple examples and libraries but with the same result every time. Now I'm beginning to think it might be my phone or if I'm missing some of them manifest-rows or whatever (yea, I'm kinda...
  7. fernando1987

    Magic api (transforms any Mysql database into a rest api in just 5 minutes)

    transform any database into a rest api in just 5 minutes and without programming or knowing php instucciones: 1. create a database on your web server 2. create your tables it is important that each table created has the id field 3. upload the files inside the zip file to your server in the...
  8. M

    Android Question OKHttpUtils2 Hard Refresh?

    Hello Community, Well, I was working with PHP files for a project on the server side, when I ran into a problem. After changing the PHP file or changing MYSQL, the string received from the server as a Result is the same as the previous string and has not changed. Due to the caching of...
  9. AkuryuBR

    Android Question Error in private page with OkHttpUtils2

    Hi to all, i have made a App based on httpUtils, i pick my entry with php page and mysql_maria db, all work fine, now i decie to use private page with .htpasswd ah .htaccess and here come the problem. If i use this type of link http(s)/username:[email protected] in the browser (i have...
  10. P

    B4A-JSON app tutorial using B4A, JSON, MySQL and PHP.

    Are you up for another challenge? Try this tutorial. Maybe you like the end result. This is how it will look like: You will find some interesting links to other study material in this tutorial. And of course here is the link: B4A-JSON Happy coding! Paul.
  11. N

    Android Question connexion to mysql server online

    Hello, I have a problem when trying to connect to a mysql server online using jdbc. I have copy the jdbcSQLExemple from here : link I've only changed the url, the id and the password and i have this error : (SQLException) java.sql.SQLException: No suitable driver found for "SERVERNAME" I've...
  12. Oscarin

    Android Question Wait for, need help on how to use it

    Hi, I am using this tutorial on how to connect to MySQL DB https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/ But I have a problem because I need to wait for the query to finish before proceeding on to the next process. I send a SELECT * FROM and I need to...
  13. Oscarin

    Android Question MySql, PHP, B4A wait for query to finish

    I am using this tutorial https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/ To connect to a MySQL DB, everything works fine, but I have a problem. Sometimes I need for the query to finish before proceeding to the next line of code This is what I want to do...
  14. toby

    Android Question Having trouble implementing mysql AES_Encrypt/Aes_Decrypt compatible functions

    I'm new to encryption, btw, and I want to be able to compare encrypted mysql data on the fly while executing a select query like SELECT * from myTable WHERE encrytedField=selectedEncryptedValue or SELECT * from myTable WHERE aes_decrypt(encrytedField, '123')=selectedValue Therefore I need...
  15. Mashiane

    B4J Question [SOLVED] Hikari usage with MySQL: Connection Leaks / Connection not available

    Hi there I am trying out the Hikari connection pool and still learning its usage. There are two warnings I see often on my app. Connection Leaks [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.ProxyLeakTask - Connection leak detection triggered for...
  16. B

    German Daten an SQL Server

    Hallo, ich habe eine App geschrieben, welche einwandfrei funktioniert und Daten über Bluetooth empfängt und diese in eine SQL Datenbank mithilfe der SQL Bibliothek schreibt. Dies funktioniert alles super. Nun wäre es super, wenn parallel dazu alle Werte, welche in die lokale SQL Datenbank...
  17. Col

    Android Question SQL Builder - is a Library needed?

    I sometimes build long complex SQL statements from code, and it takes a lot of effort to code and test, so figured why not build a class to do it for me? Here's a very simple class (the example is in B4J) to build SQL statements from code. It consists of a very basic screen (only needed for the...
  18. S

    B4J Question What type should the variable be, when importing Date from DB?

    Hello, it's looks that importing data from mariadb with jRDC is very very strict, causing errors which take a lot of time to understand. (no offence, no doubt I'm the biggest cause) If I import via Select a row from DB and a column has date like yyyy-mm-dd, should the variable where this data...
  19. S

    B4J Question Get error when request data from jRDC server

    Hello, Some strange is happening, I can't figure out what, it must be something very small or it is a bug. I have a few buttons,which are to do something else, but I misuse them for now to figure something out. Strange thing is that I get errors depending on who knows what. I'm just testing...
  20. aeric

    Share My Creation [Project Template] [Web] API Server

    Version: 1.16 Description: Create Web API Server with CRUD functionalities Updates: Web API Server 2.0 is available. Check https://www.b4x.com/android/forum/threads/project-template-web-api-server-2.143310/ Template: Web API Server (1.16).b4xtemplate Depends on following libraries...
Top