sachit64 Posted July 14, 2006 Report Share Posted July 14, 2006 Me and olajideolaolorun spent an entire night trying to figure this out. We could not figure out how to get around this. Basically MySQL will not start up when I ask for it to start running. We tried MANY things and nothing worked. We tried so many things, its easier just to post the conversation we had. sachit: haha, alright... here's a quick story first to help you understandsachit: my office hired a guy to do their database... guy was an amateur (hated codign and thought it was hard)... so he made it in filemaker prosachit: i hated it.... so i said i'd help design it again in mysqlsachit: so, i found WAMP and found your Uni Server and wanted to install it on my USB keysachit: problem is... mysql doesn't work on it... i get the 2003 errorolajid: 2003 error?sachit: i also gave in and tried installing it on my computer (apache, mysql and php) but i ccouldn't get them to work either.)sachit: hold up, let me start it up again and see what it exactly saidolajid: soo you installed them singlelysachit: well AFTEr i couldn't get uni server to work... i went and downlaoded each individiually to install on my computer (something i didn't really want to do)sachit: well i installed the uniserver onto my USBsachit: hit the START filesachit: and the thing opens up in my browser....sachit: NOW... how do i start running my php files ?sachit: and if i click Run MySQL, i get:sachit: » Security Alert! Possible Attack HTTP_REFERER is not localhost. but ''. To disable this warning go: /home/admin/www/cgi-bin/secure.pm olajid: so the serveer do work.... just problem with mysql?sachit: sorry, 2003 error was probably something elsesachit: yah i guess mysql is the problemolajid: go to that file and put a # before every line in thsat file... thhe seecure.pm file.sachit: and also... where would i put my files to actually have it working? (and can i install phpMyAdmin?)sachit: see, the thing is... theres SEVERAL versions of that fileolajid: phpmyadmin is already installed...sachit: oh oksachit: ok ok... let me explainolajid: there should only be one secure.pm in the W:/home/admin/www/cgi-bin/en/sachit: G: is my USB key... when i run it, it starts another on W: (i assume thats the server)sachit: oh ok... /EN/olajid: they ar both the same thing...olajid: g and wsachit: i know, but the secure.pm file was what messed me upsachit: did you type that error message?sachit: cause you should add after /cgi-bin/ENsachit: so i comment out the ENTIRE file to the bottom?sachit: except the first line?olajid: w ia a subst of gsachit: heh... all these www, admin folders is kidna what made me drop programming and go into accountingsachit: i used to work at nortel networks.... couldn't take it anymoresachit: so i only have a basic highschool knowledge of this stuff which gets me by.... but i still like to do little simple projectssachit: ok, so i clicked Run MySQL again and it is a blank page (with the header and side bar around it)sachit: how do i know if its running?sachit: if i click phpMyAdmin: Welcome to phpMyAdmin 2.6.4-pl4 Error MySQL said: Documentation #2003 - The server is not responding olajid: oh okolajid: yap...olajid: wee didnn't figure it was needed causee iits should bee autopmatiic tat you know what lang u are using and need to chnage..olajid: lol..olajid: olajid: wait if iit is still loading..olajid: lolajid: ksachit: i notice that there is no MySQL process running in the processesolajid: go to C:/Windows/System32 and loook for this fiile in that folder.... LIBMYSQL.DLLolajid: if you find it in there, delete it.olajid: i hope you already uninstalled the single softwares you installed..olajid: they are bound to cause troublessachit: ok, no libmysql.dll... and no i haven't uninstalled thosesachit: i'll do that nowolajid: please do it..sachit: doing itolajid: andn after that cheeck for that file.. libmysql.dll in C:/Windows and C:/Windows32sachit: oksachit: and where do i put my files for them to work as a php file and stuff?sachit: oh, and that 2003 error was happening BEFORE i installed them anywaysolajid: W:/wwwsachit: oh oksachit: so i'm going to have to copy them there everytime or will they be saved there (ie, the usb key) ?sachit: ohhh... is W: basically a "shortcut" to the folder already on my usb key of the same nature?olajid: yapolajid: they are the same thingsachit: sorry for all these questions.... i uninstalled MySQL Server 5.0 and Apache 2.0 from the uninstall listsachit: PHP wasn't there... do i delete that manually? (AND.... the Apache2 folder is still there, can i just delete that?)olajid: yapsachit: and the php.ini that i had to copy in the C:/Windows?sachit: oh, and a suggestion... PLEASE change the scroll bars in your localhost pagesachit: it takes FOREVER to scroll downsachit: ok, two things....sachit: two thingssachit: olajid: you mqan the admin panel?sachit: yaholajid: delete any php.ini in th C:/Windows folderolajid: we knowsachit: yah i didsachit: that in the next update?sachit: heh, gets annoying having to scroll downsachit: ok, phpinfo(), i can see mysql in theresachit: but phpMyAdmin still gives me that errorolajid: restart your pcsachit: alright, i'll be back in a secondolajid: klolajid: sachit: alright, restarting the serversachit: nope, same errorsachit: any idea?olajid: check tthe processsachit: what things should i b elooking for?olajid: mysql.exesachit: nope not thereolajid: go to W:/local/mysql/ and click mysqlrun.batsachit: even when i click Run MySQL it doesn't appearsachit: local doesn't existsachit: oh, found it under usrolajid: ooops sorrysachit: no problem....sachit: clicked it... dos window popped up and disappearedsachit: still nothing in processesolajid: k... therte is something blocking iit...sachit: hmm, any known programs that do that?olajid: just 3ds maxsachit: nope, never have had thatolajid: are you sure you seearched the C:/windows and C:/windows/system32 folder for libmysql.dll/sachit: yup, i even ran a search on my computerolajid: also cheeck to make sure there is no fil caled my.cnf or my.ini or anything similar like my-small.cnf or my-small.ini in the C:/, C:/windows/, and C:/windows/system32 foldersachit: i found my (configuration settings) in windows/sachit: deleted thatolajid: k..olajid: start it nowsachit: nope, no mysql.exeolajid: u stqarted it?sachit: yahsachit: wait, no its not working sachit: i TRIED starting itolajid: do u know hoe to go to the seerviciees section of windows?sachit: nopeolajid: go to run and type services.mscsachit: you mean help and support?sachit: ok i'm thereolajid: check and see if mysql is theresachit: i see MySQLXY in there... and it says "Start the service"sachit: thats pointing to the MySQL Server 5.0 which was previously on my computersachit: should i delete it?sachit: wait, i can't... no delete buttonolajid: yeah... thats the problem'olajid: disable itsachit: how?sachit: oh ok, got itsachit: nope, phpMyAdmin still gives me that errorsachit: and still no mysql.exeolajid: u started it?"olajid: go to the windows firewall exception listsachit: oksachit: checked off is mysqldsachit: and mysqld-ntolajid: sorry bout thatolajid: are u theresachit: checked off is mysqld mysqld-ntsachit: there's like 4 Apache HTTP Serversachit: only one is for uniserverolajid: so they are checked?sachit: i unchecked the othersolajid: make sure they ar all checked...sachit: they refer to the old ones... i deleted themolajid: is the new one therE?sachit: if i double click, the route is to the old apache onessachit: yes, the uniserver one is thereolajid: ahh...sachit: G:\Uniform Server\diskw\usr\local\apache2\bin\Apache.exeolajid: createe a new exception for port 3306 olajid: tcpsachit: name?sachit: MySQL Fix ?olajid: just mysql is okjsachit: oksachit: nope... still nothingolajid: do you havee annother mysdsql server running?sachit: nopeolajid: wrong queestionolajid: when u click mysqlrun.bat in the usr/local/mysql fioldeer... does it givee an error?sachit: nopesachit: just a dos window (blank) quickly pops up and closesolajid: try restartiing again pleassachit: oksachit: one secondolajid: sachit: heysachit: yah, no luck getting it startedsachit: i disabled my antivirus and firewallsachit: nothingsachit: although TWO Apache.exe come up everytime i start the uniserverolajid: i tthink somethiing is blockiing it...sachit: yaholajid: just dont know whatolajid: go to command promptsachit: yupolajid: typ netstatolajid: tpe netstat -n and also netstat -aolajid: you are looking for port 3306sachit: npoe, not thereolajid: in all 3 of the commandssachit: nopeolajid: doo u use remote desktop connection?sachit: yah sometimes: ~You have invited olajid to start Remote Assistance. Please wait for a response or cancel (Alt+Q) the pending invitation.olajid: wrong on: ~You have canceled your invitation to start Remote Assistance.sachit: how do i send you an invitation for that?: ~You have invited olajid to start Application Sharing. Please wait for a response or cancel (Alt+Q) the pending invitation.: ~You have canceled your invitation to start Application Sharing.olajid: canceel the crrent oneolajid: i do not have windows messeenger installed so i do not know if it will workolajid: but lets try itsachit: ok, how do i do it?sachit: i found the little application... but i don't knwo hwo to send you an invitiationolajid: donnt worry.. olajid: wont worksachit: oholajid: try and download a new copy and run itsachit: oksachit: i just delete it off myusb key right?olajid: yessachit: its extractingsachit: nope, same thing Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 14, 2006 Report Share Posted July 14, 2006 Do you have SAM installed? Search your whole PC for LIBMYSQL.DLL.... You should only find it where Uniform Server is, if you find it elsewhere, delete it. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
sachit64 Posted July 15, 2006 Author Report Share Posted July 15, 2006 Do you have SAM installed? Search your whole PC for LIBMYSQL.DLL.... You should only find it where Uniform Server is, if you find it elsewhere, delete it. I got no clue what SAM is, but I assume I don't have it. And I searched my entire computer for libmysql.dll and nothing. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 16, 2006 Report Share Posted July 16, 2006 There should be one in the Uniform Server directory.... or there is a problem... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
res0tqzr Posted July 16, 2006 Report Share Posted July 16, 2006 I too am getting a #2003 when I try to start MySql - nothing seems to happen. I've tried multiple times now, with the same result. What was the resolution on this issue after all - was there a resolution ? Win98 environment, just installed Uniform Server - install seemed to go fine, didn't see any error messages. Doing a standard startup of US on W:. Help ! (And thanks !) Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 19, 2006 Report Share Posted July 19, 2006 Which one are you guys using... the UPXed version? or the original? Search the PC for LIBMYSQL.DL, there should be only one and it should be in the Uniform Server folder.... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
sachit64 Posted July 24, 2006 Author Report Share Posted July 24, 2006 I have it installed on my USB key and the only appearance of the LibMySQL.dll file is in \Uniform Server\diskw\user\local\php Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 24, 2006 Report Share Posted July 24, 2006 good.... There should be one there and only there.... Go to the Services.msc.... type it in, in Run. Look for MySQL and tell me if you find it. Look for Apache also. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
sachit64 Posted July 28, 2006 Author Report Share Posted July 28, 2006 No Apache. MySQLXY... Disabled... Local System Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 29, 2006 Report Share Posted July 29, 2006 I think we need to get that out of your System before MySQL will work. K, go to the MYSQLXY properties and find the path it says its on.... put the patth in the code where i wrote 'PUT HERE'. Leave the '--remove' where it is, do not REMOVE it! Open Notepad & Paste: @echo off echo Removing MySQL net stop MySQLXY PUT HERE --remove pause Save it anywhere on your system and run. If that does not work, try this code: @echo off echo Removing MySQL net stop MySQLXY usr\local\mysql\bin\mysqld-opt.exe --remove pause This one has to be saved in the Uniform Server directory, where Server_Start.bat is. Try and tell me what happens. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.