11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
import mysql from 'mysql2/promise'
|
|
|
|
const pool = mysql.createPool({
|
|
host: '192.168.0.11',
|
|
port: 3306,
|
|
user: 'myUsage',
|
|
password: 'vEj8lFj22srB_(VG',
|
|
database: 'my_general_db'
|
|
});
|
|
|
|
export default pool; |