Interpreting this error
-
So I moved a website from one folder into another. During the final extraction this is the message I was presented with:
DATABASE ERROR: ‘You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘mysqldump: Deprecated program name. It will be removed in a future release, u…’ at line 3′
[SQL=/* DUPLICATOR-LITE (MYSQL-DUMP BUILD MODE) MYSQL SCRIPT CREATED ON : 2025-01-22 18:20:15 */mysqldump: Deprecated program name. It will be removed in a future release, use ‘/usr/bin/mariadb-dump’ ins…]
DATABASE ERROR: ‘Variable ‘time_zone’ can’t be set to the value of ‘NULL”
[SQL=/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;…]
I think I understand first error. The first error is about the deprecated mysqldump command. This is just a warning indicating that MariaDB recommends using mariadb-dump instead of mysqldump in the future. This error by itself should not affect the functionality of my site is that correct? I am using MariaDB 11.4.4
What I am worried about is the second error. Can you explain this to me?
In my mind the problem occurs when the time zone on the source server differs from the time zone on the destination server. The duplicator tries to set the time zone as it was on the source server, but in the migration process, this value sometimes becomes NULL. But my destination server is same as source server.So I am interpreting this as that the duplicator when creating packages always creates a completely new SQL dump, treating the process as if you were doing a full migration to a new server. In the dump creation process, the plugin does not take into account that the destination environment is identical to the original (which is fine). So it’s trying to reset system variables that actually already exist in my MariaDB environment ?? Is that it? I don’t remember this error happening before.
Note that website on destination folder works perfectly 100% normal, no issue whatsoever. All is fine I am just worried should or could this give me error down the road in the future? I don’t want ending in broken website. Therefore I ask for clarification of the error. Is it safe to ignore or something needs to be done on the server itself?
Regards
- You must be logged in to reply to this topic.