It is unbelievable how I am able to think of so much to talk about and to write about when I am trying to sleep or when I am taking a shower; however, when I attempt to convey my thoughts, I am unable to synthesise the blob that is in my brain. For a long time (and even most recently) I have tried to convince myself that it was due to my insecurities and fear of creating an abomination of unguided thoughts, a Frankenstein. I am a master to countless number of Frankensteins and one need only browse my archives to discover them. Perhaps once I have developed an environment that is conducive for the interaction of my thoughts and my social skills (writing and speaking in this context) will I be capable of overcoming this obstacle - the “right state of mind”.
I am well, thanks for asking. It has been a while since I posted anything here. There are a few reasons why but I guess the main reason is my fear of judgement by others. It is the same reason why I have deleted most of my blogs in the past a few months after I have created them.
$wpdb can only access and manipulate the WordPress database. How may I do the same for another database with different credentials?
WordPress provides developers with a class of functions to manipulate the database and this is particularly useful for custom plugins and/or themes. Developers may interface - create, read, write and/or delete data - with the WordPress database via the global
$wpdb object; however, to interact with another database (an external/secondary one) a new instantiation of the wpdb class is required. In WordPress’ codex, hyperdb is recommended as the solution “for extremely complicated setups with many databases”. If however, you are not too keen on using someone else’s plugin it is pretty simple to create your own custom database object using the wpdb class.