Reproducing an error from the core.

According to this ticket, i want to reproduce the error so that I the actual query. but am stack here:-

. I have tried to read the documentation, but kinder confused on what option to chose and the staff that follow after.

If you want to learn, never fear to explore or try out anything. That is how you will discover many things on your own. Try everything that you can, and then ask for help when they fail.

1 Like

Some body help me out on this , i have my backend setup and working correctly. but how do i connect a user inter

face.

A little search on openmrs talk would lead to many other cases where someone has faced this issue, including OpenMRS Platform not running among the many

somebody help me, i have run into this, and yet everything is set up correctly.

This error means that something is not correct in your database connection configuration. If you check the openmrs.log file for your server there will be more details. Normally it’s something like:

  • The database is running
  • The database isn’t running on the configured port
  • The database URL you provided (or that was provided if you used the simple setup) refers to a database that doesn’t exist
  • The user name for the db connection is not correct
  • The password for the db user is not correct

The first two are far more common than the latter three.

I got the same issue. Please refer this thread (Getting an error when setting up OpenMRS core). Also giving a little bit of search in talk will mostly help you find solutions cause most of the time someone else also had the simillar issue.

Thanks brother :+1:

@randila , I have tried your way but seems like there is no change. meanwhile, these are my server logs;

Cross-check to see if you’re providing the correct mysql password. Another option would be to delete the .OpenMRS directory and then rerun mvn jetty:run

It has worked. Thank you very much @mherman22

I am searching for the demo patients but can’t find any, what could be the cause

Try rebuild the search index on your equivalent of this page: Login

If you’re running from the openmrs-core project, there aren’t any demo patients.

1 Like

In the simple setup, there is this question: Do you want to also add demo data to your database - openmrs? whereby if you selected yes then a runtime property will be added for you to have the demo data added to your database. It is No by default.

I think there are about 3 patients, persons, person_names, etc… The liquibase file from which it picks the demo data is very limited to those records but sufficient enough for anything basic you might be trying to do with the searching, etc.

An example of patients you can search are:

1 Like

I have followed @mherman22 directions but this is what I get ;

So what should I do about that

Which directions did you follow?

I restarted the whole process of advanced installation, and even checked the option of " Do you want to also add demo data to your database - openmrs?. then when it started loading, it brought up that error shown above.

Rebuild core → mvn clean package and then locate .OpenMRS and delete it and then go to /openmrs-core/webapp and trigger mvn jetty:run and then follow those steps and then come back here and give an update

1 Like

I still get the same error. But i have looked through the logs and show that there is a checksum mismatch for a specific changeset in Liquibase. So how can I solve that if its the cause.