Skip to content

baristure/xml-to-msql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML to MYSQL

With this tool, you can transfer your data in XML to MySQL database.

Setup

  1. Install npm packages

    npm install

  2. Create a file named ".env" in the root directory and fill its contents as follows.

INTERVAL_VALUE=600000000
MYSQL_HOST=localhost or yourserverIP
MYSQL_USER=**Username**
MYSQL_PASS=**Password**
MYSQL_DATABASE=**DatabaseName**
IMAGE_URL=**Image Upload Path** 
  1. If you download any image from XML, open the /src/proccessors/utils.js file and define your Image download path
  2. Open the /src/proccessors/xmlconvert.js file and define your XML link, MySQL table names, variables, etc.

About

Transfers the data in XML to the MSQL table.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published