Host local database using ubuntu for external applications
I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?
android mysql database
add a comment |
I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?
android mysql database
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29
add a comment |
I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?
android mysql database
I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?
android mysql database
android mysql database
asked Feb 28 '15 at 19:18
vladmateinfovladmateinfo
5702811
5702811
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29
add a comment |
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29
add a comment |
2 Answers
2
active
oldest
votes
LAMP would be overkill. That is intended for hosting a website.
If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).
MySQL:
sudo apt-get install mysql-server
SQLite:
sudo apt-get sqlite
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.
MySQL Workbench can used for MySQL administration:
sudo apt-get install mysql-workbench
SQLiteman can be used for sqlite3 administration:
sudo apt-get sqliteman
add a comment |
Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f591149%2fhost-local-database-using-ubuntu-for-external-applications%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
LAMP would be overkill. That is intended for hosting a website.
If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).
MySQL:
sudo apt-get install mysql-server
SQLite:
sudo apt-get sqlite
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.
MySQL Workbench can used for MySQL administration:
sudo apt-get install mysql-workbench
SQLiteman can be used for sqlite3 administration:
sudo apt-get sqliteman
add a comment |
LAMP would be overkill. That is intended for hosting a website.
If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).
MySQL:
sudo apt-get install mysql-server
SQLite:
sudo apt-get sqlite
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.
MySQL Workbench can used for MySQL administration:
sudo apt-get install mysql-workbench
SQLiteman can be used for sqlite3 administration:
sudo apt-get sqliteman
add a comment |
LAMP would be overkill. That is intended for hosting a website.
If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).
MySQL:
sudo apt-get install mysql-server
SQLite:
sudo apt-get sqlite
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.
MySQL Workbench can used for MySQL administration:
sudo apt-get install mysql-workbench
SQLiteman can be used for sqlite3 administration:
sudo apt-get sqliteman
LAMP would be overkill. That is intended for hosting a website.
If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).
MySQL:
sudo apt-get install mysql-server
SQLite:
sudo apt-get sqlite
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.
MySQL Workbench can used for MySQL administration:
sudo apt-get install mysql-workbench
SQLiteman can be used for sqlite3 administration:
sudo apt-get sqliteman
answered Feb 28 '15 at 19:26
RinzwindRinzwind
207k28398528
207k28398528
add a comment |
add a comment |
Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial
New contributor
add a comment |
Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial
New contributor
add a comment |
Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial
New contributor
Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial
New contributor
New contributor
answered 1 hour ago
vijaydevelopervijaydeveloper
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f591149%2fhost-local-database-using-ubuntu-for-external-applications%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial
– Rinzwind
Feb 28 '15 at 19:29