Uvm_config_db usage a big confusion

In reply to karunani:

Almost every example in the cookbook uses the config_db at least once. Have you looked at the example on this page?

We would need to see line 127 of my_pkg.sv to help you further.