What is the best approach to store a pdf file? [closed] - mysql

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Good day all,
Please forgive me if this isn't the right forum to ask this question - but I couldn't think of a more resourceful community.
I handle IT stuff for a small firm where I built a PCI Compliant VB.net application to store credit card information. When a customer gives authorization to keep their card information on file, they are required to sign an Authorization Form. All has been successful thus far, but now they want to be able to store a pdf copy of this authorization form and make it accessible via the application.
I've been thinking of the following ways accomplish this task:
FTP (separate from the DB)
BLOB (directly in the DB)
What's the best approach to achieve this and how would I go about coding this in VB.net? I'm using a MySQL database.
//Kismet

Separate from the DB... just save the URL or file path in the database. In this case then you could split the PDF's up across multiple servers if needed. Also keeps the size of the DB smaller (which you want to backup more frequently).

Related

Objective-c app for iPhone and mysql [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm planning to build an iPhone application in Objective-C that will require to be connected to an MySQL database.
Should I,
Use a framework and query the database directly from the application
Go through a PHP page that will get the data, transform it into JSON and send it to the application?
Is the first solution secured ? Which framework do you recommend?
How can I secure the server and the access to the database as it will be open to anyone on the internet?
Thank you for your precious answers.
Most probably point 2 is used in mobile appliction.
Personally, if the MySQL DB is based on the internet, I would expose a Webservice to interact with it.
It is depends on your database size. If it is very large then you should use Webservice to received data from server. You can use secure HTTP base server connection. Very large size database is not recommended to stored in local(phone memory).
If your database is small in size and not frequent updating then you can use Sqlite as your database. This is most preferable.

Browser based SQL tool for end-user data manipulation? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a browser based tool (or a rapid development environment which could allow us to build a tool) which would allow users to edit data in MySQL tables. We would like to allow users to insert/delete rows, edit cells. Usability features like column sorting, or limiting entry in cells to a list of choices shall be possible.
It would be awesome if the tool allows customization (via php, javacript, python etc), user permissions, db version control (or backups).
We are looking for this sort of tool as we lack good db programming expertise.
Edit: users will not be able to create/delete tables, but only enter/remove data.
phpMyAdmin is probably the best there is for MySQL. But that is designed for DB admins not for end users.

Where can I get a large sample database for practising MySQL query optimization [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can anyone give a reference to a substantially large sample database which I can import into MySQL to test and learn optimization and benchmarking? The database should have at least 6-8 tables with lots of foreign keys in between them, i.e a complete database. The MySQL employees database looked promising, but the download page has 3 download links, clicking on any of which opens a page in a browser with a god-awful amount of binary data, dont know what to do with that.
StackOverflow itself publishes a database that could be used for this kind of testing. It's a fast download using BitTorrent since there's a lot of seeders.
there is large dataset on mysql website
Checkout https://launchpad.net/test-db/+download
it has about 6 tables i believe, suggest downloading the full archive.
The export data is around 167 MB.

What are some good data cleanup tools? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am parsing large amounts of complex files (mostly CSV files but some are not) and I need to structure/parse them into some standard formats. This not only involves row wise cleanup of data but some simple individual cell-based logic. I want a tool that a non-programmer can use also so a business team member can write simple drag and drop logic and not take up engineering time. So far, I have looked at Google Refine and Data wrangler and the last one looks great. Are there any other such tools out there?
ETL tools are oriented more towards relational databases, but also have support for XML and CSV file input/output. Examples:
http://www.talendforge.org/
http://kettle.pentaho.com/
Could easily be too complicated for your requirements though. Also, see this similar question on SO (with additional links): What software is availible for data quality checking .

What are the performance considerations of storing files in MySQL? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm creating an application where users can edit their "files" for various purposes. Each user will have his / her own sandbox of files. The question is whether these files should actually exist on a drive or as long pieces of text in a MySQL DB?
Everytime I face this problem it turns for me that storing files in filesystem ( or S3 ) is better solution. But for example Sharepoint stores all files in DB, so it depends on your project. You could also take a look at MongoDB, but I haven't tried it yet.
Okay, based on my research, here's what I found...
Based on these two articles mainly (and other research):
http://sietch.net/ViewNewsItem.aspx?NewsItemID=124
http://blog.druva.com/2009/01/25/file-systems-vs-databases/
I think a DB would be better than a file system. The DB is optimized for fast reads and writes and is relational so lookups are QUICK. Space is cheap, so it growing fast isn't a HUGE concern.