Trying To Run Php Project After Installing Wamp Server

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 24, 2009, 06:15 PM
432012 members and 298971 Topics
Latest Member: Sabamaxia
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Trying To Run Php Project After Installing Wamp Server
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Trying To Run Php Project After Installing Wamp Server  (Read 944 views)
mitho
Trying To Run Php Project After Installing Wamp Server
« on: March 09, 2009, 07:43 PM »

I have installed wamp server and copy my php file plus related folder in www folder and sql files in C:\wamp\bin\mysql\mysql5.0.51b\data\mysql folder in which files contain extension MYD, frm, MYI.
Than runing project after typing following address in internet explorer http://localhost/ it give username and password page  than i give username and password it give following message "Error Could not select database".
Please send me a appropiate information about how can i run my php project on my local machine.
aphoe (m)
Re: Trying To Run Php Project After Installing Wamp Server
« #1 on: March 10, 2009, 02:43 AM »

copying the database files doesn't work like that, each of your database has to be registered/stored in the mysql database. (there is a databe called 'mysql'). if you can export it using phpmyadmin or other mysql gui
webdezzi (m)
Re: Trying To Run Php Project After Installing Wamp Server
« #2 on: March 16, 2009, 11:47 AM »

yes, you will also need the information_schema database.

the best way it to export to sql format, and import using phpmyadmin, That will save u loads of stress.
mysql is not like ms acess that you copy around, especially if some DBs use innodb as storage engine.
 Retrieving/selecting A Particular Number Of Random Rows From A Database Table  Is Java The Right Programming Language For Me?  .NET Framework And IDE: Will Microsoft Open Source Them?  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.