Jump to content

Database files

- - - - -

  • Please log in to reply
7 replies to this topic

#1
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
I have questions:
If I develop a app that uses Sql Server, what files I'm suppossed to give to user? Does user need to have Sql Server installed?
And if I use Mysql?

#2
dbug

dbug

    Programmer

  • Members
  • PipPipPipPip
  • 155 posts
I don't understand the question... obviously if your application uses a database the user will need access to a database with the requisites imposed by your application.

#3
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
What I want to know is:
If I use Acess I give the .mdb to the client. If I use SQL Server or Mysql what I give him?

#4
dbug

dbug

    Programmer

  • Members
  • PipPipPipPip
  • 155 posts
Well, if your program uses SQL Server or MySQL, your client must have SQL Server or MySQL installed in some server. And probably you should give them a SQL script to create all the tables and stuff needed for your program into the database.

Once this is done, you (or your client) can install your program in the user workstations.

#5
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
Well, I mean if SQL Server or Mysql have database files like Acess has .mdb.

#6
dbug

dbug

    Programmer

  • Members
  • PipPipPipPip
  • 155 posts
These servers use files to store the databases, but these files cannot be copied to other servers. You need to transfer data using SQL scripts or some sort of backup and restore.

#7
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
I see. I can use mysqldump or backup task in SQL Server.

#8
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Is this for an offline app? If you can export your SQL database into a csv or mdb format, you can use a native API to access them in that format. They only need SQL server or MySQL if you export it as an SQL dump.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users