Not connecting to database in file with multiple MySQL connections

When you include wp-load.php, WordPress will load wp-config.php, where constants with the same identifiers you have chosen here are already defined. This should be throwing warnings regarding the duplicate definition.

Because you cannot re-define constants, the values you are attempting to set in this file are ignored. Choose different names for them if they are referring to values for your non-WordPress database.

To interact with the WordPress database, it would make more sense to use the WordPress APIs. There’s not really a good reason to establish a separate connection when you have already loaded the WordPress environment.