i have been trying to connect modx to mysql
when i test the connection,
i get a blank page.
mysql is working properly, what can be wrong?
-
☆ A M B ☆
- 24,524 Posts
Can you explain in a bit more detail what you are trying to do? MODx connects to its database automatically. You can use $modx->db->apifunction() syntax to access the database.
http://wiki.modxcms.com/index.php/API:DBAPI
After installing apache, mysql, i put modx in my website root directory. Then i tried to install it.
On http://localhost:8080/install/index.php?action=connection
i enter my database host , database login and password, then i test connection.
i then get a green and black blank screen of modx. That is where it ends, and i have uninstalled, download another
modx again and tried but i still get the same error.
i am using a windows vista
-
MODX Staff
- 12,272 Posts
Setting up a WAMP stack on a localhost install is not trivial, and not something I’d recommend unless you’re a server admin. I’d suggest starting with XAMPP and see if that gets you a bit farther along.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me