Experts Round Table Network
Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:
Password:
Remember me
Forgot your password?
Register
PHP5/ MySQL extension PROBLEM
Welcome,
Guest
. Please
login
or
register
.
November 23, 2008, 08:39:47 AM
11307
Posts in
1250
Topics by
501
Members
Latest Member:
rosaline
Home
Help
Search
Login
Register
Experts Round Table Network
|
Serverside Technology
|
PHP
|
PHP5/ MySQL extension PROBLEM
« previous
next »
Pages:
[
1
]
Print
Author
Topic: PHP5/ MySQL extension PROBLEM (Read 527 times)
edizarca
Guest
PHP5/ MySQL extension PROBLEM
«
on:
December 23, 2007, 10:28:35 AM »
Hello buds ,
Yesterday i installed Apache server , PHP5 , and MySQL onto my laptop for testing my web page purposes.
ALL looks like working properly but i need to restore the .sql file into mysql.
It was unsuccessful.
I backed up my database on the host to my laptop.
The problem was , mysql admin doesnt restore sqldump files.
If this can be solved, my problem is solved , i tried it failed. then i decided to install phpmyadmin.
I copied the files , but it keeps on saying.
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
-----
mysql extension is included in my php.ini file.
extension=php_mysql.dll
just like that.
----------
still no help there
any help from you guys would be appreciated.
Logged
VGR
Mentor
Offline
Posts: 682
Re: PHP5/ MySQL extension PROBLEM
«
Reply #1 on:
December 23, 2007, 10:35:43 AM »
phpmyadmin is useless
if you did a mysqldump() of your database, given the versions are not too different, importaing your data back in the new server is a piece of cake. It's better done, simply, by issuing at the DOS command prompt (where mysql/bin is accessible in the path) :
mysql --user=you --password=youtoo < dumpfile.sql
the error you got : "could not load mysql extension" smells very bad. It looks like you didn't folow the real install procedure. You ***should*** find startup errors of mysql in the machinename.err file which lies in the mysql/data directory (or the one specified in my.ini/my.cnf as "datadir")
best regards
Logged
techie overlord, answers all kind of questions on
http://www.europeanexperts.org
edizarca
Guest
Re: PHP5/ MySQL extension PROBLEM
«
Reply #2 on:
December 23, 2007, 10:59:14 AM »
Thanks for reply ,
As you have noticed I am a total newbie on this.
But I followed every step on the tutorial , and did the control acts to check them , they all look workig fine , just the extension thingy.
Theres no mysql section on my phpinfo file.
-----
in the err file this is what i get.
-----
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
071223 6:35:25 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
071223 6:35:26 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 24 MB
InnoDB: Database physically writes the file full: wait...
071223 6:35:27 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 24 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
071223 6:35:29 InnoDB: Started; log sequence number 0 0
071223 6:35:30 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
071223 6:49:02 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: Normal shutdown
071223 6:49:02 InnoDB: Starting shutdown...
071223 6:49:05 InnoDB: Shutdown completed; log sequence number 0 43655
071223 6:49:05 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: Shutdown complete
071223 6:49:07 InnoDB: Started; log sequence number 0 43655
071223 6:49:07 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
071223 7:00:52 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: Normal shutdown
071223 7:00:52 InnoDB: Starting shutdown...
071223 7:00:53 InnoDB: Shutdown completed; log sequence number 0 43655
071223 7:00:53 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: Shutdown complete
071223 7:00:54 InnoDB: Started; log sequence number 0 43655
071223 7:00:54 [Note] D:\WEB\SERVER\MySQL\bin\mysqld-nt: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
Logged
VGR
Mentor
Offline
Posts: 682
Re: PHP5/ MySQL extension PROBLEM
«
Reply #3 on:
January 06, 2008, 01:17:12 AM »
the .err file seems ok ; the mysqld server seems ready for connections
the phpinfo() absence of a mysql section is abnormal IMHO ; the mysql client can't be started
there's something wrong in the middle.
probably the lib4ts not in the path or the like.Now check the Apache's error file.
have you tried launching the "mysql" console client ("DOS" window/"command-line", mysql) ?
Logged
techie overlord, answers all kind of questions on
http://www.europeanexperts.org
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ERT 1.5
-----------------------------
=> Round Table Learning Center
=> Bug reports
-----------------------------
Legacy
-----------------------------
=> The next level
=> History of ERT
-----------------------------
Community Affairs
-----------------------------
=> Introductions
=> Ballot Box
===> Closed Polls
=> Soapbox
=> Propose and Consult
===> Propose and Consult...CLOSED
-----------------------------
Bits and Bytes
-----------------------------
=> Tips, Tricks, Snippets, Tidbits And General Pearls Of Wisdom
-----------------------------
Serverside Technology
-----------------------------
=> PHP
=> ASP
-----------------------------
Webservers
-----------------------------
=> Apache
=> IIS
-----------------------------
Databases
-----------------------------
=> MySQL
=> Access
=> MS SQL Server
-----------------------------
Clientside Technology
-----------------------------
=> HTML
=> CSS
=> Javascript
=> Flash
=> WAP/WML
-----------------------------
Web Technologies
-----------------------------
=> General Web Dev
=> Web Standards
=> XML
=> Online Marketing
-----------------------------
Graphics
-----------------------------
=> Graphics Design and Animation
-----------------------------
Programming
-----------------------------
=> .NET
=> JAVA
=> MS DOS Batch Scripting
=> Mathematics
=> C & C++
=> VB
=> Delphi
=> Algorithm design
-----------------------------
Operating Systems
-----------------------------
=> Windows (General)
=> NT Based (2K, 2K-03, NT, XP, Vista)
=> Open Source (All)
-----------------------------
Hardware
-----------------------------
=> Hardware General
=> Gamers Hardware (Advanced)
-----------------------------
Networking
-----------------------------
=> Home (small)
=> Office (large)
=> Internet
-----------------------------
Security
-----------------------------
=> General Security Issues
-----------------------------
Rants/Opinions/Proposals
-----------------------------
=> Site operation
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Joomla Bridge by
JoomlaHacks.com