tags:

views:

192

answers:

2

i need run code that will create a database and populate tables. i am using windows. how can i run this code?

localhost/phpmyadmin shows nothing, it's a blank page

could it be because i installed the lite version?

+2  A: 

Point your browser to http://localhost/phpmyadmin IIRC. You may need to set that up using XAMPP's control panel first, though.

Rushyo
Through phpmyadmin you can execute raw SQL by clicking the SQL menu or use the GUI it provides.
Rushyo
http://localhost/phpmyadmin shows nothing, it's a blank page
I__
Try visiting localhost. This should bring up the XAMPP 'portal', assuming it's set up correctly, which ought to have a link to phpmyadmin somewhere.
Rushyo
FYI. for the other poster, XAMPP installs phpmyadmin and blocks outside access by default, leaving root blank (but giving you a warning and instructions and how to set it up). Posted here because I'm not privileged to post comments elsewhere!.
Rushyo
+1  A: 

You can also connect if you have the mysql command line client which is downloadable from mysql.com. I personally prefer that, but to each his own:) If you need to execute code, you should have set up a root password when you installed or it can be done through the control panel and you can use that account in your connection string to execute the code that will populate the tables, etc.

Chris Thompson