c4ffb1cc95ba1c1f06d32808237b7cb6623cbee4
jcasper
  Wed Aug 12 10:16:59 2026 -0700
MariaDB has begun issuing deprecation warnings for the 'mysql'-named version of
their client.  Updating hgsql to use the preferred name, no ticket

diff --git src/hg/hgsql/hgsql.c src/hg/hgsql/hgsql.c
index 3b590a673fa..15fb7b4a4a7 100644
--- src/hg/hgsql/hgsql.c
+++ src/hg/hgsql/hgsql.c
@@ -1,41 +1,41 @@
 /* hgsql - Execute some sql code using connection info .hg.conf. */
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 #include "common.h"
 #include "options.h"
 #include "hgConfig.h"
 #include "sqlProg.h"
 
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "hgsql - Execute some sql code using connection information in .hg.conf\n"
   "usage:\n"
-  "   hgsql [mysqlOptions] [database]\n"
+  "   hgsql [mariadbOptions] [database]\n"
   "or:\n"
-  "   hgsql [mysqlOptions] [database] < file.sql\n"
-  "Generally anything in command line is passed to mysql\n"
+  "   hgsql [mariadbOptions] [database] < file.sql\n"
+  "Generally anything in command line is passed to mariadb\n"
   "after an implicit '-A -u user -ppassword'.  If no options\n"
   "or database is specified, this usage message is printed."
   "\n"
   );
 }
 
 void hgsql(int argc, char *argv[])
 /* hgsql - Execute some sql code using passwords in .hg.conf. */
 {
 static char *progArgs[] = {"-A", NULL};
-sqlExecProg("mysql", progArgs, argc, argv);
+sqlExecProg("mariadb", progArgs, argc, argv);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 if (argc < 1)
     usage();
 hgsql(argc-1, argv+1);
 return 0;  /* never reaches here */
 }