Error establishing a database connection: placeholder problem
-
Hi, I’m gonna explain my one experience.
I installed XAMPP and wordpress, started install. when filling db parameters, I filled host, user, pass, prefix fields, but left dbname untouched, because I thought that the placeholder text is the dbname and I wanted it as untouched(wordpress).
I got an error “Error establishing a database connection”, so I made ‘wordpress’ db for myself but I couldn’t resolve that. I doubted user privilegues, so I opened ‘phpmyadmin’ and examined privilegues.
There wasn’t any problems. I decided to debug, so I examined ‘class-wpdb.php’. I got the error messague ‘select db failed’, so I printed the dbname and got an empty string. After all, I hadn’t filled the dbname field.
I recommend to weaquen the placeholder color so that dummies could identify it easily.
Hope your successes!
so
The topic ‘Error establishing a database connection: placeholder problem’ is closed to new replies.