Is there a way of posting or inserting content directly to the database (without entering the wp-admin)?

Yes @janoChen, you can use wp_insert_post,

take a look at this answers:

WP insert post PHP function and Custom Fields
Front-End Post Submission

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