Closed manojsitapara closed 3 months ago
How can I specify the MySql port number in below code?
const { state, saveCreds, removeCreds } = await useMySQLAuthState({ session: sessionId, // required host: 'mysql.com', // optional user: 'admin', // optional password: 'password', // required database: 'baileys', // required tableName: 'auth' // optional })
me too strugling with thease +1
+1
Added port in MySQLConfig, update to mysql-config v1.4.0
await useMySQLAuthState({ ...config, port: 3306, // optional })
How can I specify the MySql port number in below code?