I use XAMPP to test my Wordpress website on my localhost. In this I can safely experiment with the CSS and HTML.
The only problem is that I can't upload images in Wordpress. Actually I can't upload anything.
The XAMPP folder is set to 'Read Only'. When I change this to "read and write' I loose my database connection. It Says:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Now I know the config dile is right, because when I tested it in Read Only mode, it wored fine.
Can someone tell me how to fix this?