# How to make a secure connection to mysql database?

**URL:** https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714
**Category:** Questions about Thunkable X
**Tags:** database
**Created:** [May 29, 2020, 5:32pm UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714 "2020-05-29T17:32:53Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![wertigo8064hbb](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wertigo8064hbb](https://community.thunkable.com/u/wertigo8064hbb)
#### Post date: [May 29, 2020, 5:32pm UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/1 "2020-05-29T17:32:53Z")

</div>

Hello everybody!  
how to make a secure connection to mysql database?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 30, 2020, 4:20am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/2 "2020-05-30T04:20:33Z")

</div>

Hello,

To do this, use the https data transfer Protocol, and store passwords in the database in encrypted form.

---

<div class="post-metadata">

### Author: ![dro](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dro](https://community.thunkable.com/u/dro)
#### Post date: [July 17, 2020, 8:05pm UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/3 "2020-07-17T20:05:15Z")

</div>

https API call does not work on x-Thunkable.  
I am getting:  
“The website or service provider you are trying to reach does not support HTTPS requests.”

I know that the API’s target server does support HTTPS requests because my requests work fine from other platforms like MIT AI2 and the browser.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 18, 2020, 10:51am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/4 "2020-07-18T10:51:59Z")

</div>

My experience shows that ThunkableX works with the Web API via the https Protocol. I think you need to look at the problem in more detail. You may be entering incorrect parameters or incorrect parameter values when making a request. Working with the WEB API in Thunkable X has some specifics compared to MIT AI2, so it is often difficult to transfer applications from other platforms to Tunkable X

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [July 22, 2020, 5:05am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/5 "2020-07-22T05:05:21Z")

</div>

I have a different issue though but may well be related. I used the Web API blocks to interact with HTTPS sources and is able to work on mobile apps (live test, downloaded as well as published apps). But when I went on to build responsive web-app, using the same blocks and https source, it always give this error:  
'“The website or service provider you are trying to reach does not support HTTPS requests.”

Then I tried it on live test with phone and it will work. … You know what is happening here?

Thanks.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 22, 2020, 6:29am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/6 "2020-07-22T06:29:18Z")

</div>

What happens here is that the application runs in different environments. If your project works well on Android, it doesn’t mean that it will also work well as a web app or in Live or on iOS and Vice versa.

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [July 22, 2020, 6:42am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/7 "2020-07-22T06:42:43Z")

</div>

Thanks. What I need now is to make the https get request work on webapp, which I can’t. And I have no way of understanding why it is so.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 22, 2020, 6:44am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/8 "2020-07-22T06:44:05Z")

</div>

I don’t use a Pro account and for this reason I can’t see why something doesn’t work in webapp.

---

<div class="post-metadata">

### Author: ![dro](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dro](https://community.thunkable.com/u/dro)
#### Post date: [July 22, 2020, 6:32pm UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/9 "2020-07-22T18:32:17Z")

</div>

@actech Thanks. I was able to test successfully after switching testing to iOS. I was testing with Live Test and it never worked on it.

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [July 24, 2020, 5:47am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/10 "2020-07-24T05:47:33Z")

</div>

dro, you are welcome. Somehow, https (normal HTML pages) request from webapp and webbased live test won’t work. But worked on phone platforms. However https requests for JSON APIs works… I have absolutely no idea why…

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/how-to-make-a-secure-connection-to-mysql-database/590714/11 "2024-11-08T11:28:55Z")

</div>


