Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Connect to phpMyAdmin to import tables from MySQL into ServiceNow

JensHappeningIT
Tera Guru

Hi everyone,

 

I am trying to connect a table inside phpMyAdmin to ServiceNow. I have tried this with a JDBC Data Source but I got the error Cannot invoke "java.util.Map.keySet()" because "this.fImportSourceFields" is null. Can someone tell me how to fix this? Many thanks in advance!

1 ACCEPTED SOLUTION

Hello @pratiksha5 ,

 

No, turns out it was not needed for my project. The program that uses the database had a REST API on further research. So what I ended up using was a Rest Message of which I called its http method inside a custom (Load by script) data source with a MID server as the intermediary. 

 

This led me load my data as an import set. I don't know if this method can help you but good luck anyways.

 

Kind regards,

Jens

View solution in original post

6 REPLIES 6

ofaura
ServiceNow Employee

Hello ,

 

I had the same issue, and solved updating the MySQL configuration; instead of using Strong Password option for authentication, I changed to "use legacy authentication method"

 

ofaura_0-1713002053794.png

 

Now it works!

 

mattoedu
Tera Contributor

Change the listed format from "MySQL" to "MySQL - Non Maria".