473,385 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DB deployment & installation

144 100+
hello,

i'm planning to create an application. there are some software out there that can be used to automate the installation process of an application. but the application comes with a mysql database.

i can include mysql in the installation process along with the application. but then how can i setup the database?

the query such as the create database, create user, give permission, create tables along with the insert records.

Thank you.
Dec 22 '09 #1
2 1533
Atli
5,058 Expert 4TB
Hey.

You would have to create a script, as a part of the installation process, that logs into the newly installed MySQL server as root and executes the statements needed to create the database for you application.

This could be done in anything from a small C application to a shell script. Your choice completely.

However, there are probably other database system more appropriate for applications like these. MySQL is a database server, after all. Have you explored systems like SQLite?

Also, in case this is not a open-source/free application...
To ship MySQL as a part of a commercial application, you need to buy a commercial MySQL license. The open-source GPL license, which the free version of MySQL is licensed under, does not cover non-free applications.
(See http://www.mysql.com/about/legal/licensing/oem/)
Dec 22 '09 #2
thesti
144 100+
ah.. Thank you for your information. that's what i don't know. i have little information about licensing, as i'm not tought about that in college.

as this is a low budget project, i prefer a free distribution... i see that SQLite is free for any purpose.

but since this application will be a multiuser app, with each user running an instance on his desktop, and there should be only one database, so the data are synchronize to all of them.
i think i must come with a client/server database engine

Thank you
Dec 23 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: surfdog58 | last post by:
Need to build complete deployment package for a multi-project enterprise soln consisting of 3 web apps, 20+ web services, 2 windows services, 61 component dll's and 4 databases. Everything except...
6
by: I_AM_DON_AND_YOU? | last post by:
I am working on the setup project of my small vb.net program. I don't want to give the user (the person who will install my program) an option where (s)he wants to install the program/utility. For...
5
by: Geri Reshef | last post by:
In the VB6 I used the "Package & Deployment Wizard" to create an installation package. I didn't find the VB.Net equivalent. Does anybody knows where or what is it?
0
by: Kirk | last post by:
Hello, I have created a Installation program for my app using the .NET Setup & Deployment project. The program has two executables. The first (let's call App A), is the main application. The...
1
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will...
0
by: Aparna Rege | last post by:
Hi, I want to create an installation for my project (built using VB.Net 2003). I have two components in the setup and user may install only one of them to start with. I would like to give users...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
Logan1337
by: Logan1337 | last post by:
Hello, I need to close all instances of a process before beginning my installation (overtop an old version), otherwise the user will get an error saying that the file is in use and installation...
0
by: tcomer | last post by:
I'm creating a setup and deployment application that will ultimately install some prerequisites, a windows application, and then transfer a file to a handheld device. The setup process works fine...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.