Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Including database in the installation

Including database in the installation

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasequestionmysqlvisual-studio
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    graced88
    wrote on last edited by
    #1

    Hello, How do I include the database that I am using to my VB .NET application? My application and the DB is connected via the ODBC. And i dont want to set up the database in another PC and creating the database and tables, etc... I would like to have the DB, tables, etc setup once my application is installed.. Possible? The database that I am using is mySQL Server 5.0; Driver is: MySQL ODBC 3.51 Driver Visual Studio 2005. And I am planning to publish the application via the publish tab in the properties. Thanks!

    V 1 Reply Last reply
    0
    • G graced88

      Hello, How do I include the database that I am using to my VB .NET application? My application and the DB is connected via the ODBC. And i dont want to set up the database in another PC and creating the database and tables, etc... I would like to have the DB, tables, etc setup once my application is installed.. Possible? The database that I am using is mySQL Server 5.0; Driver is: MySQL ODBC 3.51 Driver Visual Studio 2005. And I am planning to publish the application via the publish tab in the properties. Thanks!

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      I have used MySQL in Linux Environment a long time ago. propably in redhat 6 :). i have never used it in Windows. but to my knowledge Mysql is not like MS Access , you cannot ship it with your Application. even SQL you cannot do that. We usually have a Server and our Applications will point to that Server for Data, but now if you want to Copy your App on the CD and expect a DB , i think you should go for MSAccess. Hope this Helps

      Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

      G 1 Reply Last reply
      0
      • V Vimalsoft Pty Ltd

        I have used MySQL in Linux Environment a long time ago. propably in redhat 6 :). i have never used it in Windows. but to my knowledge Mysql is not like MS Access , you cannot ship it with your Application. even SQL you cannot do that. We usually have a Server and our Applications will point to that Server for Data, but now if you want to Copy your App on the CD and expect a DB , i think you should go for MSAccess. Hope this Helps

        Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

        G Offline
        G Offline
        graced88
        wrote on last edited by
        #3

        Really?? Bummer. So, the only way around this is to just put all the tables in a text file and just copy-paste it then, huh? X| Thank you :)

        D 1 Reply Last reply
        0
        • G graced88

          Really?? Bummer. So, the only way around this is to just put all the tables in a text file and just copy-paste it then, huh? X| Thank you :)

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          No. I don't use MySQL so I can't really comment on it specifically. But, you normally include a blank copy of your database files or the SQL scripts to create the database in your installer. You can execute anything you need to setup the database from there.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          G 1 Reply Last reply
          0
          • D Dave Kreskowiak

            No. I don't use MySQL so I can't really comment on it specifically. But, you normally include a blank copy of your database files or the SQL scripts to create the database in your installer. You can execute anything you need to setup the database from there.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            G Offline
            G Offline
            graced88
            wrote on last edited by
            #5

            i dont know how to do the scripts. can you help me? im going to publish my application thru solution explorer>properties>publish tab

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups