+ 9

Is it necessary to install mysql to save and retrieve sql data on another computer locally?

I have made an java application which utilises SQL database through MYSql . But I want to transfer that exe file to another computer. I want that the data is stored and can be accessed locally on that computer without installing Mysql on that computer through the Java application . Is there any solution to this problem ?

17th Aug 2018, 11:59 AM
Siddharth Golecha
Siddharth Golecha - avatar
32 Respuestas
+ 7
Rugved Modak well I have never used firebase.. But regarding the question I would suggest some cloud server...nut internet seems an issue here so I think user needs DBMS to be installed... 😅
18th Aug 2018, 3:21 PM
$hardul B
$hardul B - avatar
+ 5
No from India
18th Aug 2018, 1:41 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 5
Rugved Modak never used sql since 79. It was way too slow for our needs so we tossed it in favor of a custom database code.
18th Aug 2018, 4:39 PM
John Wells
John Wells - avatar
+ 5
Oma Falk flew past me😅😂
18th Aug 2018, 4:40 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 5
Oma Falk could you explain me in more simpler way?
18th Aug 2018, 4:57 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 5
Oma Falk that's amazing solution but the problems to this are - 1. The transfer of data will not be possible if mine computer (c1) is shut down. I have to keep my computer open for approx 10 hrs. That will consume lots of power. However I can 'buy' a cloud server as a solution to this problem but it would be illogical to buy one for only 2 to 3 people. 2. If my computer (c1) shuts down for any reason, client's work will stop completely. And if this happens , he will not spare me😂 3. I don't know how to implement it.😂😂
18th Aug 2018, 5:41 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 5
1.u can use a raspberrypi as sever 5v 1A. power consumption. 10$ for zero version 2. let him run. my raspi is a wlan hotspot always running. 3. yes thats hard... as my boss always said: do it anyways.
18th Aug 2018, 6:04 PM
Oma Falk
Oma Falk - avatar
+ 5
Thanks Oma Falk for the motivation 😂
18th Aug 2018, 6:06 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 5
Personally, if installing mysql isn't an option, I'd remove it from your application. Replace each usage of with the equivalent reading/writing of files, after all that is all mysql is doing for you. Depending on the number and type of commands, you could manage it in days. Back in the day, it took my team of 5 a week to replace all sql in 100k lines of code.
18th Aug 2018, 6:20 PM
John Wells
John Wells - avatar
+ 4
Juan Pineda Actually I am creating this application for a client and the data will be stored in his computer . I would have no access to that
17th Aug 2018, 12:59 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
Juan Pineda Kind of cloud server?
17th Aug 2018, 4:12 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
If that is applied , then the client will not be able to store data without internet connection and this is not a good case since internet connection may not always work and is often taken down by the government for various reasons . If something important is too be done at that point then it would be a nightmare
18th Aug 2018, 11:17 AM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
Same situation like mentioned above😅
18th Aug 2018, 1:54 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
Rugved Modak Ask from sql users
18th Aug 2018, 3:17 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
Rugved Modak firebase is used for mobile apps
18th Aug 2018, 3:27 PM
Siddharth Golecha
Siddharth Golecha - avatar
+ 4
ahhh... ok Computer 1 (c1)has sql installed computer 2(c2) has your. exe program c1 reads sql data and transfers them into a text file and sends the textfile to c2. .... maybe every hour the. exe reads the txt file.
18th Aug 2018, 5:08 PM
Oma Falk
Oma Falk - avatar
+ 4
John Wells yes.. lot to do. that was a part of my first answer. a (professional) program should be independent of the technic eg for retrieving data. one should be able to change it like a dvd. The same for representing output. There should be exactly one responsibility with a clear interface. Well... clever insights have a tendency being always a bit too late😉😉😚
18th Aug 2018, 6:30 PM
Oma Falk
Oma Falk - avatar
+ 3
Siddharth Golecha ??? please explain
18th Aug 2018, 4:56 PM
Oma Falk
Oma Falk - avatar
+ 3
how to transfer txt: ftp, scp, attachment of email. depends on the location of c1 and c2
18th Aug 2018, 5:10 PM
Oma Falk
Oma Falk - avatar
+ 3
Rugved Modak sure here are many raspi experts on SL
18th Aug 2018, 6:16 PM
Oma Falk
Oma Falk - avatar