Menu

DATA CONFIGURATION Log in to Edit

config ini (1)
LongStone
"[JCORE]"
dbType="MySQL"
;implementation="mysql"
host="127.0.0.1"
port=3306
database="JCORE"
username="jcore"
password="jcore"
persistant="true"
Data Store Name (DSN)
  • this is a short form name for the data base
dbType
  • dbType="MYSQL" this will use the standard MySQL connection object DATA_API_MySQL.class.php, this can be over ridden by "implementation"
implementation
  • implementation="DATA_API_Postgres" this will allow the use of an override of the standard DATA_API connection object DATA_API_(MySQL/POSTGRES/...).class.php it MUST be in the sub directory from DATA_API (i.e. JCORE/DATA/(MySQL/POSTGRES))
host
  • host="127.0.0.1" this can include the server port in standard format host="10.10.10.10:5506"
username
  • username="username"
password
  • password="password"
database
  • database="database"
persistant
  • persistant="true" MUST BE SET TO string "false" to override default

Related

Wiki: Working with Data Stores

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.