473,803 Members | 2,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

distributing MySQL

Hello
Recently changed from using Access to MySQL.
Looked at the online docs but could not find anything about the process of
distributing a database to customers.
Can anyone give me a general idea of what is required. I sort of did a test
by simply moving the database files to a different directory but was unable
to connect after that through my VB front end.

Also If anyone could point me in direction of links that show how to do
this. Im particularly interested to know what happens to user names and
passwords. Do they remain on my system or do they move with the database?

Also would I have to pay for a special licence to do this or just tell
customers to install their own versions of the server and if the latter how
would it recognise my database and the permissions I have created
Ian
Nov 1 '05 #1
2 1951
Ian Davies wrote:
Hello
Recently changed from using Access to MySQL.
Looked at the online docs but could not find anything about the process of
distributing a database to customers.
Can anyone give me a general idea of what is required. I sort of did a
test by simply moving the database files to a different directory but was
unable to connect after that through my VB front end.

Also If anyone could point me in direction of links that show how to do
this. Im particularly interested to know what happens to user names and
passwords. Do they remain on my system or do they move with the database?

Also would I have to pay for a special licence to do this or just tell
customers to install their own versions of the server and if the latter
how would it recognise my database and the permissions I have created
Ian

Last thing first, no you don't have to pay for a special license. The
beauty of Open Source Database. Secondly, as to distribution of the
database; it depends. Are they working on a set of common data, or do they
just need the structure and are going to put in their own data. If the
latter, then check out mysqldump for dumping the file

Dec 23 '05 #2
Thanks for the reply

I will look into sqldump
But have written into my VB program lots of mysql commands that are run when
the the software is run for the first time. It took a long time but they
create a database if not already present, creates all tables and foreign
keys etc, populates with default data and creates all required users.
I think this is the best method if I need to distribute upgrades to either
the program or the database as I just distribute a single new front end
which automatically does any updating to tables, structure etc when run.
However, If you know of an alternative approach I m always open to better
solutions
Ian

"John Meyer" <jo**********@g mail.com> wrote in message
news:jp******** ************@co mcast.com...
Ian Davies wrote:
Hello
Recently changed from using Access to MySQL.
Looked at the online docs but could not find anything about the process of distributing a database to customers.
Can anyone give me a general idea of what is required. I sort of did a
test by simply moving the database files to a different directory but was unable to connect after that through my VB front end.

Also If anyone could point me in direction of links that show how to do
this. Im particularly interested to know what happens to user names and
passwords. Do they remain on my system or do they move with the database?
Also would I have to pay for a special licence to do this or just tell
customers to install their own versions of the server and if the latter
how would it recognise my database and the permissions I have created
Ian

Last thing first, no you don't have to pay for a special license. The
beauty of Open Source Database. Secondly, as to distribution of the
database; it depends. Are they working on a set of common data, or do

they just need the structure and are going to put in their own data. If the
latter, then check out mysqldump for dumping the file

Dec 27 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2162
by: Rick | last post by:
Hi all, I am writing a small PHP accounting and office management application and would like to learn how to "package" it for distribution. It requires the use of a small MySQL database which is my main concern. How do I distribute that...and insure that it can be used, i.e., having the proper MySQL services running. Any comments or direction to sources of info will be greatly appreciated... Thanks in Advance,
4
1849
by: Doug D | last post by:
Is there a way I can sell a PHP "module" without distributing the source code? I haven't heard of one, but if you have an idea, please let me know. thanks, -d
5
2130
by: NEWS | last post by:
Can I install Python on a networked server and have any user run Python programs without having to go through the 9Mb client install? What are my options for distributing Python programs to my users? Thankyou to anyone who can help. Graham
5
1727
by: Jiri Barton | last post by:
Hi, I'd like to be able to distribute some python modules of my system (plugins) without the source. So far, I have done this by including only the *.pyc files. However, I have recently found they are platform dependent and python version dependent. This approach has been very convenient because I don't have to mess up with __import__ and the like - which seem to be kind of a pain when inter-module dependencies are introduced.
1
1294
by: Greg Smith | last post by:
I am distributing a Windows application via a Setup.exe file. How do you change the default target folder that comes up in the "Select Installation Folder" dialog box. Any help is greatly appreciated.
6
1829
by: Jason | last post by:
A non-python programming friend of mine has said that any programs made with Python must be distributed with, or an alternative link, to the source of the program. Is this true?
2
1797
by: John Welch | last post by:
It happens much too often that I have to tell a client how to fix up missing references when I send them an application, especially if the client is distributing it to different users. It makes me look unprofessional (which I guess I am to some extent). I've tried the fixuprefs() function I got from the knowledge base (that uses the qryTestRefs and checks for error 3075), but it doesn't seem to get called, and I still get the problem. I'm...
0
1832
by: BallCOMET | last post by:
I have an application that I built with Visual Studio 2005 and for which I enabled OpenMP. If I open the compiled binary in Visual Studio, this is the manifest that is embedded in the executable as RT_MANIFEST entry 1: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86"...
9
2035
by: alf | last post by:
Hi, I have a small app which consist of a few .py files. Is there any way to distribute it in jar like fashion as a single file I can just run python on. I obviously look for platform independent solution. Thx in advance, A.
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9119
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6840
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5496
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4274
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3795
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2968
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.