Trying to create a custom meta table for working with a custom table

I found my answer by just digging through wp-includes/meta.php … I just had to add to $wpdb myself at runtime.

add_action('init', function(){
    global $wpdb;
    $wpdb->mytypemeta = "{$wpdb->prefix}mytypemeta";
});

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)