I a开发者_JAVA百科m newbie using php and wamp. I am trying to use a mysql db with the wamp server. I am really confused on what the right steps are. Should I put the sql file in the/www folder or what is the way to go? Thanks a lot
- left click wamp -> phpmyadmin
- select database then click import (top right)
- locate the database and click go.
Via command line: http://www.ibsteam.net/blog/web-development/how-import-sql-file-within-wamp-environment-using-command-line
If you just started I would recommend using phpmyadmin, which comes with wamp. Just run your main localhost www page, select phpmyadmin from there and use import. It's like uploading a file though www, you don't have to place it in any specific directory.
精彩评论