You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`database.user`**: MySQL username for database connection
74
-
-**Default**: `"root"`
74
+
-**Default**: `"root"`
75
75
76
76
-**`database.password`**: MySQL password for the specified user
77
-
-**Default**: `""` (empty string)
78
-
-**Important**: Must match your MySQL user's password
77
+
-**Default**: `""` (empty string)
79
78
80
79
-**`database.port`**: MySQL server port number
81
-
-**Default**: `3306` (standard MySQL port)
82
-
-**Note**: Only change if your MySQL uses a different port
80
+
-**Default**: `3306` (standard MySQL port)
81
+
-**Note**: Only change if your MySQL uses a different port
83
82
84
83
-**`database.reconnect`**: Automatically reconnect if connection is lost
85
-
-**Default**: `true`
84
+
-**Default**: `true`
86
85
87
86
-**`database.use_tls`**: Use encrypted TLS connection to database, more details [here](https://docs.datajoint.com/core/datajoint-python/latest/client/settings/#tls-configuration)
**Note**: Only needed if you're using custom plugins or want to store them in a different location.
252
252
@@ -310,11 +310,11 @@ If your database uses custom schema names:
310
310
1.**Check your password** - Verify the password matches your MySQL password
311
311
312
312
2.**Advanced troubleshooting**: For remote databases or lab setups, contact your system administrator or IT support to verify database server status, network connectivity, and firewall settings. **Check if MySQL is running**
313
-
- If `database.host` is `127.0.0.1` or `localhost`: Run `mysql -u root -p` on the same machine as EthoPy
314
-
- If `database.host` is a remote IP (like `192.168.1.100`): Run the command on that remote database server
315
-
- The command should ask for your password and connect successfully
316
-
- If you get "command not found", MySQL client is not installed
317
-
- If you get "connection refused", MySQL server is not running
313
+
- If `database.host` is `127.0.0.1` or `localhost`: Run `mysql -u root -p` on the same machine as EthoPy
314
+
- If `database.host` is a remote IP (like `192.168.1.100`): Run the command on that remote database server
315
+
- The command should ask for your password and connect successfully
316
+
- If you get "command not found", MySQL client is not installed
317
+
- If you get "connection refused", MySQL server is not running
318
318
319
319
3.**Check the database address** - For `127.0.0.1`, MySQL must be on your computer
320
320
@@ -364,17 +364,19 @@ If your database uses custom schema names:
364
364
## Local vs Database Settings
365
365
366
366
**Store in local_conf.json:**
367
-
- Database connection details
368
-
- File paths specific to this machine
369
-
- Hardware GPIO pin assignments
370
-
- Logging preferences
371
-
- Machine-specific settings
367
+
368
+
- Database connection details
369
+
- File paths specific to this machine
370
+
- Hardware GPIO pin assignments
371
+
- Logging preferences
372
+
- Machine-specific settings
372
373
373
374
**Store in database:**
374
-
- Experimental parameters
375
-
- Trial configurations
376
-
- Animal information
377
-
- Session data
378
-
- Results and measurements
375
+
376
+
- Experimental parameters
377
+
- Trial configurations
378
+
- Animal information
379
+
- Session data
380
+
- Results and measurements
379
381
380
382
This separation keeps your experiments portable while maintaining machine-specific configurations.
0 commit comments