We are developing a site in which 3 persons are working. One of my friend used a separate file named "dbsetup.php" to set up all the tables in MySQL, which works when included in the script, whereas i have created all the tables using Command-Line and phpMyAdmin. Which one is best, secured and good for long-run?
What is the best way of creating tables in MySQL?
130 views Asked by praveenbharatsagar At
1
There are 1 answers
Related Questions in MYSQL
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to change woocomerce or full wordpress currency with value from USD to AUD
- window.location.href redirects but is causing problems on the webpage
- Error: local variable 'bramka' referenced before assignment
- Products aren't displayed after fetching data from mysql db (node.js & express)
- status table for all entries (even in different dates) in database changing value when all checkboxes are checked
- Can't Fix Mariadb & Mysql ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (2) On MacOs
- Express Mysql getting max ID from table not working cought in a promise
- failed to upload a table from sql file
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Use row values from another table to select them as columns and establish relations between them (pivot table)
- SQL: Generate combination table based on source and destination column from same table
- How to display the column names which have only unique non-null values in MySQL table?
- mysql query takes too long because of wrong indexes usage
- Multitable joining in Sql
Related Questions in PHPMYADMIN
- How to add the dynamic new rows from my registration form in my database?
- window.location.href redirects but is causing problems on the webpage
- How to clear cache of a json file in my Godaddy Wordpress website automatically when I update it
- Updated max input vars but table still shows error
- I tried installing Bagisto on a Pi, and I decided to uninstall it. Now, my PHPmyadmin doesn't work
- XAMPP already installed on the MacBook, MySQL and phpMyAdmin not starting
- Can't connect to data base in using PHP in my website
- Troubleshooting Laravel's database connection error
- How can I connect my Android Studio apk to localhost for real Android devices?
- I migrated a PHP server and I'm not able to solve this error below
- "Setting Up Laravel on Windows with XAMPP and Composer: Best Practices?"
- Can't connect docker phpmyadmin with nginx
- Can Eclipse Vert.x support phpmyadmin?
- #2006 - mysql server has gone away XAMPP
- WordPress how to add own PHP code made up of multiple files and an imported package?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I would say using a separate script is always good. Security may not be a issue in either approach but if you have a separate script file then deployment become easy since the same file you can run in multiple different environment and deploy the database.
It's also more maintainable since if any change required, do it in one place and get going.
Also, saves lots of time in typing every time. Right?