DeathStar Posted March 24, 2007 Share Posted March 24, 2007 Hi there. I recently Installed wamp on my windows computer and when i tried to run the database(create a db) I got this error: phpMyAdmin - Error Cannot load mysql extension. Please check your PHP configuration. - Documentation of cource i follow up on the error and found : 1.20 I receive the error "cannot load MySQL extension, please check PHP Configuration". To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed. Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar. Here is my log of mysql: InnoDB: The first specified data file .\ibdata1 did not exist: InnoDB: a new database to be created! 070324 11:06:05 InnoDB: Setting file .\ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 070324 11:06:10 InnoDB: Log file .\ib_logfile0 did not exist: new to be created InnoDB: Setting log file .\ib_logfile0 size to 10 MB InnoDB: Database physically writes the file full: wait... 070324 11:06:15 InnoDB: Log file .\ib_logfile1 did not exist: new to be created InnoDB: Setting log file .\ib_logfile1 size to 10 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 070324 11:06:22 InnoDB: Started; log sequence number 0 0 070324 11:06:23 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: ready for connections. Version: '5.0.27-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL) Searched Google and found just about people who has the same problem but unanswered. Can anyone help me? And one more thing, How can i change the server from localhost to something like "server" ? Link to comment https://forums.phpfreaks.com/topic/44104-package-called-php-mysql/ Share on other sites More sharing options...
wildteen88 Posted March 24, 2007 Share Posted March 24, 2007 By WAMP i assume you installed the package from www.wampserver.com However please read this thread for enabling the mysql extension. WAMP should have this extension already enabled. Link to comment https://forums.phpfreaks.com/topic/44104-package-called-php-mysql/#findComment-214178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.