clawsql 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.js CHANGED
@@ -90,7 +90,7 @@ ClawSQL provides comprehensive automation for MySQL cluster management:
90
90
  - Prometheus for metrics collection
91
91
  - Grafana for visualization
92
92
  `,
93
- version: '0.1.5',
93
+ version: '0.1.6',
94
94
  },
95
95
  servers: [
96
96
  { url: '/', description: 'Current server' },
@@ -115,7 +115,7 @@ ClawSQL provides comprehensive automation for MySQL cluster management:
115
115
  fastify.get('/', async () => {
116
116
  return {
117
117
  name: 'ClawSQL',
118
- version: '0.1.5',
118
+ version: '0.1.6',
119
119
  description: 'MySQL Cluster Automation and Operations Management',
120
120
  docs: '/docs',
121
121
  health: '/health',
@@ -94,7 +94,7 @@ const SyncSettingsSchema = zod_1.z.object({
94
94
  });
95
95
  const SettingsSchema = zod_1.z.object({
96
96
  appName: zod_1.z.string().default('ClawSQL'),
97
- appVersion: zod_1.z.string().default('0.1.5'),
97
+ appVersion: zod_1.z.string().default('0.1.6'),
98
98
  debug: zod_1.z.boolean().default(false),
99
99
  metadataDb: MetadataDBSettingsSchema,
100
100
  orchestrator: OrchestratorSettingsSchema,
@@ -16,9 +16,6 @@ services:
16
16
  - "3306:3306"
17
17
  environment:
18
18
  - MYSQL_ROOT_PASSWORD=rootpassword
19
- - MYSQL_DATABASE=clawsql
20
- - MYSQL_USER=clawsql
21
- - MYSQL_PASSWORD=clawsqlpassword
22
19
  command: >
23
20
  --server-id=1
24
21
  --log-bin=mysql-bin
package/init/primary.sql CHANGED
@@ -1,6 +1,6 @@
1
1
  -- Primary initialization script
2
2
  -- Create replication user with mysql_native_password for compatibility
3
- CREATE USER IF NOT EXISTS 'repl'@'%' IDENTIFIED WITH mysql_native_password BY 'replpassword';
3
+ CREATE USER IF NOT EXISTS 'repl'@'%' IDENTIFIED WITH mysql_native_password BY 'repl_password';
4
4
  GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%';
5
5
 
6
6
  -- Create monitoring user
@@ -13,6 +13,9 @@ GRANT SELECT ON mysql.* TO 'monitor'@'%';
13
13
  CREATE USER IF NOT EXISTS 'clawsql'@'%' IDENTIFIED WITH mysql_native_password BY 'clawsql_password';
14
14
  GRANT ALL PRIVILEGES ON *.* TO 'clawsql'@'%' WITH GRANT OPTION;
15
15
 
16
+ -- Create demo database
17
+ CREATE DATABASE IF NOT EXISTS clawsql;
18
+
16
19
  -- Create application user for demo database
17
20
  CREATE USER IF NOT EXISTS 'app'@'%' IDENTIFIED WITH mysql_native_password BY 'apppassword';
18
21
  GRANT ALL PRIVILEGES ON clawsql.* TO 'app'@'%';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawsql",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "MySQL Cluster Automation and Operations Management System",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",