I have shell script. I want to convert mysql database to sqlite database.
I want to install cygwin.
Can anybody help in getting what packages i need to install ?
I tries a lot's but if i select all then it takes whole day and nothing happen or sometime it breaks installation.
Related
How do I install MySQL Workbench properly? Can't connect to the SQLTools extension in VSCode.I'm new to the database scene, and can't seem to grasp how to create a successful SQL server that I can use to manipulate data. But nothing I'm doing seems to work.
Should I use Gitbash to access the terminal? I tried using my password to make a new query but it wouldn't work on the workbench. I don't know how to start the SQL server in addition to not knowing how to properly change the profile for the Workbench from a previous account. A new developer, such as myself, would appreciate any insight!
So that's really simple just install the mysql community server installer using this link https://dev.mysql.com/downloads/mysql/
Make sure to select the server only in the setup during installation if you are going to be using VS code as the client to manipulate sql queries
Then once that is done copy the bin path location from the mysql file directory (which is usually in the program files on your \C: drive on your computer) to the environment variables on your computer so that you can access mysql from the command line
Once that is done you can initialise a database from the normal command line but first type mysql -u root -p to start mysql in the command line
Then download the sql tools extension on vs code and create the database that wish
This may have been answered elsewhere, but I can't seem to locate it, so please accept my sincere apologies if this is a duplicate question.
Complete newbie to CentOS command line operation of MySQL.
I'm trying to migrate 200,000,000 + records from a MSSQL database to MySQL and the Workbench migration tool fails. Given up trying to sort that so I've written a migration package in VB.Net to get all of the other 7-800 tables migrated directly, and they work great, but I have a few very large tables with around 15,000,000 records or more in each and my migration method would take several days to complete!
So - brainwave... I have the migration program create "insert into..." SQL statements in a single sql file, ftp this to my CentOS box and execute it locally on the CentOS machine.
Works fine, using:
mysql --user=user --password=password
to log in to MySQL, then executing the script as
source mysqlscript.sql
...but I will have a lot of scripts, such as
script1.sql
script2.sql
script3.sql
...
script27.sql
Is there a way within MySQL to batch process all these SQL scripts so I can just leave it running without having to manually set each of the 27 scripts off manually?
So I installed mysql and mysql workbench now my goal is to run 20 different queries on the schema and database I installed onto it. to install the schema and database I used File => Open Sql Script and then selected the schema then the database to install them. However I seem to have a issue where the lightning bolt icon you use to run scripts isn't high lighted and it's not allowing me to run anything and I don't know why.
I have been doing an update to a purchase app that I developed some time ago. One of the changes I've been doing is to replace the hard coded queries inside the program with MySQL functions.
The MySQL server is version 8.0 and its running in Ubuntu 18.04 server. I am aware there are a lot of bugs specially with permissions still going around in the Linux version of MySQL.
The problem I am facing now is that I can run the functions on MySQL Workbench but when trying to execute the function from VB.NET I always get a user permission error. I already give the user the permission just to execute those functions and I am using the same user in the app than in MySQL Workbench.
Does any one know a solution for this, or there is a special permission that I need to assign in order to execute functions from any other application besides MySQL Workbench?
I need to make an installer for a MySQL 5.1 Database, but I'm totally a noob when it comes to installers.
I've been looking at NSIS and learned a little but I don't really know how to use it to just to execute a script.
Anyone out there has experience installing database schemas in multiple computers?
thanks
So I didn't have time to figure it out but I made a batch file that executes a mysql script
http://dev.mysql.com/doc/refman/5.0/en/batch-mode.html
so batch file had this
cmd /c mysql -h host -u user - p < scirpt_file_in_same_folder_as_batch.sql
The only problem was that mysql had to be set as enviroment variable path by default.
To cancel script execution you just dont write a password when promped
hope this helps someone out there.