Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
This my problam in php my sql?
could not connect wt mysql
----------------------------------
error
----------------------------------
your php server doesn't have the mysql module loaded or you can't use the mysql-(p)connect functions
-----------------------------
ive edited my php.ini file and remove the comment marks from that
1] ;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
extension=php_msql.dll
extension=php_mysql.dll
2]i ve set the parth to my ext directory
extension_dir = "c:\php\ext\"
3] Copy da lipmysql dll to system diectoy then wht i have to do..
5 Answers
- 1 decade agoFavorite Answer
you must copy all the modules including the php.ini at system directory i.e. c:\windows
this should work... i know it!
re-read all "readme.txt"
hint: install wamp! it will make ur life easier...
give me 5 points ok...
- Anonymous1 decade ago
Hi!
By the way u didnt mention whether u r using IIS or Apache server
I think the problem is with the version of Php and Mysql u r using
If u r using php5+ u gotta give single quotes instead of double ones in the connection string. For ex-- ('localhost','user','pwd');
If this doesnt help, check out the version compatibility.
Pls do reply if ur problem is solved.....
- keohaneLv 44 years ago
The SAMS coach your self are a tremendously good selection to construct up your base of skills in any programming language. the often initiate with "coach your self" then provide a date selection for occasion "coach your self Perl in 24 hours". The 24 hour sequence of books enable the greater enhanced consumer to handle the project in an afternoon mutually as there is likewise 21 day sequence that helps a greater comfortable attitude. Your ultimate guess is to get right down to a e book save learn each and each and see which fits your gaining knowledge of form. each and all of the books are styled interior a similar coaching way meaning in case you have a replica of any it would be effective to evaluate your self you could then order the replica you pick for on line. additionally on a similar time the "For Dummies" selection however condescending in call makes for between the main merely examine reference instruction manual while you're greater pro programmer changing programming language as something you're able to desire to artwork out could be actual regarded up.
- 1 decade ago
i too had similar kind of problem, every thing was looking fin but things were not working. few tips that may help you..
1) are you sure you have only one instance of php & mysql running.
2) your path is same as the running version
3) you are working on correct php.ini
4) recheck every steps configuring php & mysql
- How do you think about the answers? You can sign in to vote the answer.
- NCLv 71 decade ago
If memory serves, libmysql.dll should go to C:\php rather than to the system directory...