Creating ATOM Database

36 views
Skip to first unread message

Matheus Mumbala

unread,
Oct 24, 2023, 3:27:47 AM10/24/23
to ica-ato...@googlegroups.com
  Good Day,
I'm trying to create the ATOM database but I'm failing. 

when i run the sudo mysql -h localhost -u root -p -e command i get this error bellow (localhost is the ip address of my server)
mysql: [ERROR] unknown variable 'sql_mode=ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'.

Attached is the mysql config file.

I guess this error i'm receiving is to do with setting up of the username & password for the database.

Attached is also the mysql status



--
Best Regards
Matheus Mumbala
Cell: +264 81 20 68 773
E-mail: m.mu...@gmail.com
WHK
Namibia
mysql config file.jpg
status of mysql.jpg

Dan Gillean

unread,
Oct 24, 2023, 9:47:36 AM10/24/23
to ica-ato...@googlegroups.com
Hi Matheus, 

Did you try using the SQL queries in our Troubleshooting documentation to change the SQL modes? See: 
Normally during installation, we assume that this is the first time MySQL is being added on this server, and therefore we typically ask the user to create the mysqld.cnf from scratch, and we add those modes. In your case, the file you have shared looks like it has a bunch of existing content, but does not include the SQL modes. 

Are there other applications installed on this server - possibly other MySQL versions being used by other applications? Have you made any changes from the recommended installation documentation that we should know about?

What output do you get when you try using the queries linked above to check the SQLmodes?

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAGjoF9CuR1mL7NdEJ3tc5%2B57oNTh2e%3DcPFdFabbQFpVeOxee2A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages