Addserver: Difference between revisions

From Data Islands
(Created page with " SQLite Example addserver sqlite "DataSource=C:\sqllite\sampledb.db;Version=3;"")
 
No edit summary
Line 1: Line 1:


'''Syntax''' : addserver <PROVIDER> <SERVERNAME/IP/FILENAME> <USERNAME> <PASSWORD> <ENTER>




For CSV: eg.addserver csv "FOLDERPATH"


SQLite
For Xero: eg.addserver xero


Example
For Files: eg.addserver files "FOLDERPATH"
 
For ODBC: eg.addserver odbc "CONNECTION STRING"
 
For SQLite: eg.addserver sqlite "CONNECTION STRING"
 
 
Description : Add a SQL/MYSQL/POSTGRESQL/CSV/XERO/FILES/ODBC server to our connection list. For CSV/XERO/FILES/ODBC/SQLite USERNAME AND PASSWORD are not required or used. 
 
 
For '''Xero''', first needs to authenticate and then needs to copy code value from browser address bar and paste in console app. 
 
 
For '''Files''', we need to give folder path which contains any type of files and later user can upload the files to Server. 
 
 
For '''Odbc''', we need to give complete connection string eg. "Dsn=MS Access Database;dbq=C:\db.accdb;".
 
 
For '''SQLite''', we need to give complete connection string eg. "Data Source=C:\SQLiteDB\test.db;Version=3; FailIfMissing=True; Foreign Keys=True;"
 
 
'''<u>Examples</u>'''
 
# SQLite


addserver sqlite "DataSource=C:\sqllite\sampledb.db;Version=3;"
addserver sqlite "DataSource=C:\sqllite\sampledb.db;Version=3;"

Revision as of 11:27, 21 October 2022

Syntax : addserver <PROVIDER> <SERVERNAME/IP/FILENAME> <USERNAME> <PASSWORD> <ENTER>


For CSV: eg.addserver csv "FOLDERPATH"

For Xero: eg.addserver xero

For Files: eg.addserver files "FOLDERPATH"

For ODBC: eg.addserver odbc "CONNECTION STRING"

For SQLite: eg.addserver sqlite "CONNECTION STRING"


Description : Add a SQL/MYSQL/POSTGRESQL/CSV/XERO/FILES/ODBC server to our connection list. For CSV/XERO/FILES/ODBC/SQLite USERNAME AND PASSWORD are not required or used. 


For Xero, first needs to authenticate and then needs to copy code value from browser address bar and paste in console app. 


For Files, we need to give folder path which contains any type of files and later user can upload the files to Server. 


For Odbc, we need to give complete connection string eg. "Dsn=MS Access Database;dbq=C:\db.accdb;".


For SQLite, we need to give complete connection string eg. "Data Source=C:\SQLiteDB\test.db;Version=3; FailIfMissing=True; Foreign Keys=True;"


Examples

  1. SQLite

addserver sqlite "DataSource=C:\sqllite\sampledb.db;Version=3;"