[SOLVED] Can't write: c:\xampp\mysql\bin\libmysql.dll

Problems with the Windows version of XAMPP, questions, comments, and anything related.

[SOLVED] Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby waldemara » 29. January 2009 19:47

Hi,

As I tried to upgrade from 1.6.8 to 1.7.0 and used xampp-win32-upgrade-1.6.8-1.7.0-installer.exe it gave me error "Can't write: c:\xampp\mysql\bin\libmysql.dll"

I stopped Apache and MySQL services through Xampp control panel and made sure they were stopped using services.msc (Im using Windows XP pro sp3).

I clicked abort and cancelled the installation. Then I disabled Apache and MySql services through services.msc and restarted the computer. As I came back to my desktop I tried to run upgrade again, but the same error occurred.

Now as I start apache and mysql services I am able to go to http://localhost/ and it says it is 1.7.0.. As I try to open phpMyAdmin browser states that the webpage cannot be displayed. As I try to open any website I have created with xampp ->Apache crashes.

So what now???? Hopefully my websites and databases are OK!!!!

BR,
Waldemara

Here is the entire log from the installation:

Output folder: c:\xampp
Extract: readme_de.txt
Extract: readme_en.txt
Extract: xampp-changes.txt
Output folder: c:\xampp\FileZillaFTP
Extract: FileZilla Server Interface.exe
Extract: FileZilla server.exe
Extract: FileZilla server.pdb
Extract: FileZillaServer.exe
Extract: FzGSS.dll
Extract: dbghelp.dll
Extract: legal.htm
Extract: libeay32.dll
Extract: license.txt
Extract: readme.htm
Extract: ssleay32.dll
Output folder: c:\xampp\apache
Extract: CHANGES.txt
Extract: LICENSE.txt
Output folder: c:\xampp\apache\bin
Extract: ApacheMonitor.exe
Extract: ab.exe
Extract: abs.exe
Extract: apache.exe
Extract: apr_dbd_odbc-1.dll
Extract: apr_dbd_oracle-1.dll
Extract: apr_dbd_pgsql-1.dll
Extract: apr_dbd_sqlite3-1.dll
Extract: apr_ldap-1.dll
Extract: aspell-15.dll
Extract: fdftk.dll
Extract: gds32.dll
Extract: htcacheclean.exe
Extract: htdbm.exe
Extract: htdigest.exe
Extract: htpasswd.exe
Extract: httpd.exe
Extract: httxt2dbm.exe
Extract: intl3_svn.dll
Extract: libapr-1.dll
Extract: libapriconv-1.dll
Extract: libaprutil-1.dll
Extract: libeay32.dll
Extract: libhttpd.dll
Extract: libmcrypt.dll
Extract: libmhash.dll
Extract: libmysql.dll
Extract: libmysql_5.0.51a.dll
Extract: libpq.dll
Extract: libsasl.dll
Extract: libsvn_client-1.dll
Extract: libsvn_delta-1.dll
Extract: libsvn_diff-1.dll
Extract: libsvn_fs-1.dll
Extract: libsvn_ra-1.dll
Extract: libsvn_repos-1.dll
Extract: libsvn_subr-1.dll
Extract: libsvn_wc-1.dll
Extract: logresolve.exe
Extract: msql.dll
Extract: ntwdblib.dll
Extract: openssl.exe
Extract: php4apache2.dll
Extract: php5apache.dll
Extract: php5apache2.dll
Extract: php5apache2_2.dll
Extract: php5apache2_2_filter.dll
Extract: php5apache2_filter.dll
Extract: php5apache_hooks.dll
Extract: php5isapi.dll
Extract: php5nsapi.dll
Extract: php5pi3web.dll
Extract: php5ts.dll
Extract: rotatelogs.exe
Extract: saslANONYMOUS.dll
Extract: saslCRAMMD5.dll
Extract: saslDIGESTMD5.dll
Extract: saslLOGIN.dll
Extract: saslNTLM.dll
Extract: saslPLAIN.dll
Extract: saslSASLDB.dll
Extract: ssleay32.dll
Extract: wintty.exe
Extract: zlib1.dll
Output folder: c:\xampp\apache\bin\iconv
Extract: _tbl_simple.so
Extract: adobe-stdenc.so
Extract: adobe-symbol.so
Extract: adobe-zdingbats.so
Extract: big5.so
Extract: cns11643-plane1.so
Extract: cns11643-plane14.so
Extract: cns11643-plane2.so
Extract: cp037.so
Extract: cp038.so
Extract: cp10000.so
Extract: cp10006.so
Extract: cp10007.so
Extract: cp10029.so
Extract: cp1006.so
Extract: cp10079.so
Extract: cp10081.so
Extract: cp1026.so
Extract: cp273.so
Extract: cp274.so
Extract: cp275.so
Extract: cp277.so
Extract: cp278.so
Extract: cp280.so
Extract: cp281.so
Extract: cp284.so
Extract: cp285.so
Extract: cp290.so
Extract: cp297.so
Extract: cp420.so
Extract: cp423.so
Extract: cp424.so
Extract: cp437.so
Extract: cp500.so
Extract: cp737.so
Extract: cp775.so
Extract: cp850.so
Extract: cp851.so
Extract: cp852.so
Extract: cp855.so
Extract: cp856.so
Extract: cp857.so
Extract: cp860.so
Extract: cp861.so
Extract: cp862.so
Extract: cp863.so
Extract: cp864.so
Extract: cp865.so
Extract: cp866.so
Extract: cp868.so
Extract: cp869.so
Extract: cp870.so
Extract: cp871.so
Extract: cp874.so
Extract: cp875.so
Extract: cp880.so
Extract: cp891.so
Extract: cp903.so
Extract: cp904.so
Extract: cp905.so
Extract: cp918.so
Extract: cp932.so
Extract: cp936.so
Extract: cp949.so
Extract: cp950.so
Extract: dec-mcs.so
Extract: ebcdic-at-de-a.so
Extract: ebcdic-at-de.so
Extract: ebcdic-ca-fr.so
Extract: ebcdic-dk-no-a.so
Extract: ebcdic-dk-no.so
Extract: ebcdic-es-a.so
Extract: ebcdic-es-s.so
Extract: ebcdic-es.so
Extract: ebcdic-fi-se-a.so
Extract: ebcdic-fi-se.so
Extract: ebcdic-fr.so
Extract: ebcdic-it.so
Extract: ebcdic-pt.so
Extract: ebcdic-uk.so
Extract: ebcdic-us.so
Extract: euc-jp.so
Extract: euc-kr.so
Extract: euc-tw.so
Extract: gb12345.so
Extract: gb2312.so
Extract: gb_2312-80.so
Extract: hp-roman8.so
Extract: iso-10646-ucs-2.so
Extract: iso-10646-ucs-4.so
Extract: iso-2022-cn.so
Extract: iso-2022-jp-2.so
Extract: iso-2022-jp.so
Extract: iso-2022-kr.so
Extract: iso-8859-1.so
Extract: iso-8859-10.so
Extract: iso-8859-13.so
Extract: iso-8859-14.so
Extract: iso-8859-15.so
Extract: iso-8859-2.so
Extract: iso-8859-3.so
Extract: iso-8859-4.so
Extract: iso-8859-5.so
Extract: iso-8859-6.so
Extract: iso-8859-7.so
Extract: iso-8859-8.so
Extract: iso-8859-9.so
Extract: iso-ir-10.so
Extract: iso-ir-102.so
Extract: iso-ir-103.so
Extract: iso-ir-11.so
Extract: iso-ir-111.so
Extract: iso-ir-121.so
Extract: iso-ir-122.so
Extract: iso-ir-123.so
Extract: iso-ir-128.so
Extract: iso-ir-13.so
Extract: iso-ir-139.so
Extract: iso-ir-14.so
Extract: iso-ir-141.so
Extract: iso-ir-142.so
Extract: iso-ir-143.so
Extract: iso-ir-146.so
Extract: iso-ir-147.so
Extract: iso-ir-15.so
Extract: iso-ir-150.so
Extract: iso-ir-151.so
Extract: iso-ir-152.so
Extract: iso-ir-153.so
Extract: iso-ir-154.so
Extract: iso-ir-155.so
Extract: iso-ir-158.so
Extract: iso-ir-16.so
Extract: iso-ir-17.so
Extract: iso-ir-18.so
Extract: iso-ir-19.so
Extract: iso-ir-2.so
Extract: iso-ir-21.so
Extract: iso-ir-25.so
Extract: iso-ir-27.so
Extract: iso-ir-37.so
Extract: iso-ir-4.so
Extract: iso-ir-47.so
Extract: iso-ir-49.so
Extract: iso-ir-50.so
Extract: iso-ir-51.so
Extract: iso-ir-54.so
Extract: iso-ir-55.so
Extract: iso-ir-57.so
Extract: iso-ir-60.so
Extract: iso-ir-61.so
Extract: iso-ir-69.so
Extract: iso-ir-70.so
Extract: iso-ir-8-1.so
Extract: iso-ir-8-2.so
Extract: iso-ir-84.so
Extract: iso-ir-85.so
Extract: iso-ir-86.so
Extract: iso-ir-88.so
Extract: iso-ir-89.so
Extract: iso-ir-9-1.so
Extract: iso-ir-9-2.so
Extract: iso-ir-90.so
Extract: iso-ir-91.so
Extract: iso-ir-92.so
Extract: iso-ir-93.so
Extract: iso-ir-94.so
Extract: iso-ir-95.so
Extract: iso-ir-96.so
Extract: iso-ir-98.so
Extract: iso-ir-99.so
Extract: iso646-dk.so
Extract: iso646-kr.so
Extract: jis_x0201.so
Extract: jis_x0208-1983.so
Extract: jis_x0212-1990.so
Extract: johab.so
Extract: koi8-r.so
Extract: koi8-ru.so
Extract: koi8-u.so
Extract: ksx1001.so
Extract: mac-ce.so
Extract: mac-croatian.so
Extract: mac-cyrillic.so
Extract: mac-dingbats.so
Extract: mac-greek.so
Extract: mac-iceland.so
Extract: mac-japan.so
Extract: mac-roman.so
Extract: mac-romania.so
Extract: mac-thai.so
Extract: mac-turkish.so
Extract: mac-ukraine.so
Extract: macintosh.so
Extract: osd_ebcdic_df04_1.so
Extract: osd_ebcdic_df04_15.so
Extract: shift_jis.so
Extract: ucs2-internal.so
Extract: ucs4-internal.so
Extract: unicode-1-1-utf-7.so
Extract: us-ascii.so
Extract: utf-16.so
Extract: utf-8.so
Extract: windows-1250.so
Extract: windows-1251.so
Extract: windows-1252.so
Extract: windows-1253.so
Extract: windows-1254.so
Extract: windows-1255.so
Extract: windows-1256.so
Extract: windows-1257.so
Extract: windows-1258.so
Output folder: c:\xampp\apache\error
Extract: HTTP_BAD_GATEWAY.html.var
Extract: HTTP_BAD_REQUEST.html.var
Extract: HTTP_FORBIDDEN.html.var
Extract: HTTP_GONE.html.var
Extract: HTTP_INTERNAL_SERVER_ERROR.html.var
Extract: HTTP_LENGTH_REQUIRED.html.var
Extract: HTTP_METHOD_NOT_ALLOWED.html.var
Extract: HTTP_NOT_FOUND.html.var
Extract: HTTP_NOT_IMPLEMENTED.html.var
Extract: HTTP_PRECONDITION_FAILED.html.var
Extract: HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
Extract: HTTP_REQUEST_TIME_OUT.html.var
Extract: HTTP_REQUEST_URI_TOO_LARGE.html.var
Extract: HTTP_SERVICE_UNAVAILABLE.html.var
Extract: HTTP_UNAUTHORIZED.html.var
Extract: HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
Extract: HTTP_VARIANT_ALSO_VARIES.html.var
Extract: contact.html.var
Output folder: c:\xampp\apache\error\include
Extract: bottom.html
Extract: spacer.html
Extract: top.html
Output folder: c:\xampp\apache\icons
Extract: a.gif
Extract: a.png
Extract: alert.black.gif
Extract: alert.black.png
Extract: alert.red.gif
Extract: alert.red.png
Extract: apache_pb.gif
Extract: apache_pb.png
Extract: apache_pb2.gif
Extract: apache_pb2.png
Extract: apache_pb2_ani.gif
Extract: back.gif
Extract: back.png
Extract: ball.gray.gif
Extract: ball.gray.png
Extract: ball.red.gif
Extract: ball.red.png
Extract: binary.gif
Extract: binary.png
Extract: binhex.gif
Extract: binhex.png
Extract: blank.gif
Extract: blank.png
Extract: bomb.gif
Extract: bomb.png
Extract: box1.gif
Extract: box1.png
Extract: box2.gif
Extract: box2.png
Extract: broken.gif
Extract: broken.png
Extract: burst.gif
Extract: burst.png
Extract: c.gif
Extract: c.png
Extract: comp.blue.gif
Extract: comp.blue.png
Extract: comp.gray.gif
Extract: comp.gray.png
Extract: compressed.gif
Extract: compressed.png
Extract: continued.gif
Extract: continued.png
Extract: dir.gif
Extract: dir.png
Extract: diskimg.gif
Extract: diskimg.png
Extract: down.gif
Extract: down.png
Extract: dvi.gif
Extract: dvi.png
Extract: f.gif
Extract: f.png
Extract: folder.gif
Extract: folder.open.gif
Extract: folder.open.png
Extract: folder.png
Extract: folder.sec.gif
Extract: folder.sec.png
Extract: forward.gif
Extract: forward.png
Extract: generic.gif
Extract: generic.png
Extract: generic.red.gif
Extract: generic.red.png
Extract: generic.sec.gif
Extract: generic.sec.png
Extract: hand.right.gif
Extract: hand.right.png
Extract: hand.up.gif
Extract: hand.up.png
Extract: icon.sheet.gif
Extract: icon.sheet.png
Extract: image1.gif
Extract: image1.png
Extract: image2.gif
Extract: image2.png
Extract: image3.gif
Extract: image3.png
Extract: index.gif
Extract: index.png
Extract: layout.gif
Extract: layout.png
Extract: left.gif
Extract: left.png
Extract: link.gif
Extract: link.png
Extract: movie.gif
Extract: movie.png
Extract: p.gif
Extract: p.png
Extract: patch.gif
Extract: patch.png
Extract: pdf.gif
Extract: pdf.png
Extract: pie0.gif
Extract: pie0.png
Extract: pie1.gif
Extract: pie1.png
Extract: pie2.gif
Extract: pie2.png
Extract: pie3.gif
Extract: pie3.png
Extract: pie4.gif
Extract: pie4.png
Extract: pie5.gif
Extract: pie5.png
Extract: pie6.gif
Extract: pie6.png
Extract: pie7.gif
Extract: pie7.png
Extract: pie8.gif
Extract: pie8.png
Extract: portal.gif
Extract: portal.png
Extract: ps.gif
Extract: ps.png
Extract: quill.gif
Extract: quill.png
Extract: right.gif
Extract: right.png
Extract: screw1.gif
Extract: screw1.png
Extract: screw2.gif
Extract: screw2.png
Extract: script.gif
Extract: script.png
Extract: sound1.gif
Extract: sound1.png
Extract: sound2.gif
Extract: sound2.png
Extract: sphere1.gif
Extract: sphere1.png
Extract: sphere2.gif
Extract: sphere2.png
Extract: tar.gif
Extract: tar.png
Extract: tex.gif
Extract: tex.png
Extract: text.gif
Extract: text.png
Extract: transfer.gif
Extract: transfer.png
Extract: unknown.gif
Extract: unknown.png
Extract: up.gif
Extract: up.png
Extract: uu.gif
Extract: uu.png
Extract: uuencoded.gif
Extract: uuencoded.png
Extract: world1.gif
Extract: world1.png
Extract: world2.gif
Extract: world2.png
Output folder: c:\xampp\apache\icons\small
Extract: back.gif
Extract: back.png
Extract: binary.gif
Extract: binary.png
Extract: binhex.gif
Extract: binhex.png
Extract: blank.gif
Extract: blank.png
Extract: broken.gif
Extract: broken.png
Extract: burst.gif
Extract: burst.png
Extract: comp1.gif
Extract: comp1.png
Extract: comp2.gif
Extract: comp2.png
Extract: compressed.gif
Extract: compressed.png
Extract: continued.gif
Extract: continued.png
Extract: dir.gif
Extract: dir.png
Extract: dir2.gif
Extract: dir2.png
Extract: doc.gif
Extract: doc.png
Extract: forward.gif
Extract: forward.png
Extract: generic.gif
Extract: generic.png
Extract: generic2.gif
Extract: generic2.png
Extract: generic3.gif
Extract: generic3.png
Extract: image.gif
Extract: image.png
Extract: image2.gif
Extract: image2.png
Extract: index.gif
Extract: index.png
Extract: key.gif
Extract: key.png
Extract: movie.gif
Extract: movie.png
Extract: patch.gif
Extract: patch.png
Extract: ps.gif
Extract: ps.png
Extract: rainbow.gif
Extract: rainbow.png
Extract: sound.gif
Extract: sound.png
Extract: sound2.gif
Extract: sound2.png
Extract: tar.gif
Extract: tar.png
Extract: text.gif
Extract: text.png
Extract: transfer.gif
Extract: transfer.png
Extract: unknown.gif
Extract: unknown.png
Extract: uu.gif
Extract: uu.png
Output folder: c:\xampp\apache\modules
Extract: mod_access.so
Extract: mod_actions.so
Extract: mod_alias.so
Extract: mod_asis.so
Extract: mod_auth.so
Extract: mod_auth_anon.so
Extract: mod_auth_basic.so
Extract: mod_auth_dbm.so
Extract: mod_auth_digest.so
Extract: mod_auth_ldap.so
Extract: mod_authn_alias.so
Extract: mod_authn_anon.so
Extract: mod_authn_dbd.so
Extract: mod_authn_dbm.so
Extract: mod_authn_default.so
Extract: mod_authn_file.so
Extract: mod_authnz_ldap.so
Extract: mod_authz_dbm.so
Extract: mod_authz_default.so
Extract: mod_authz_groupfile.so
Extract: mod_authz_host.so
Extract: mod_authz_owner.so
Extract: mod_authz_svn.so
Extract: mod_authz_user.so
Extract: mod_autoindex.so
Extract: mod_autoindex_color.so
Extract: mod_cache.so
Extract: mod_cern_meta.so
Extract: mod_cgi.so
Extract: mod_charset_lite.so
Extract: mod_dav.so
Extract: mod_dav_fs.so
Extract: mod_dav_lock.so
Extract: mod_dav_svn.so
Extract: mod_dbd.so
Extract: mod_deflate.so
Extract: mod_dir.so
Extract: mod_disk_cache.so
Extract: mod_dumpio.so
Extract: mod_env.so
Extract: mod_expires.so
Extract: mod_ext_filter.so
Extract: mod_fcgid.so
Extract: mod_file_cache.so
Extract: mod_filter.so
Extract: mod_headers.so
Extract: mod_ident.so
Extract: mod_imagemap.so
Extract: mod_imap.so
Extract: mod_include.so
Extract: mod_info.so
Extract: mod_isapi.so
Extract: mod_jk.so
Extract: mod_ldap.so
Extract: mod_log_config.so
Extract: mod_log_forensic.so
Extract: mod_logio.so
Extract: mod_mem_cache.so
Extract: mod_mime.so
Extract: mod_mime_magic.so
Extract: mod_negotiation.so
Extract: mod_perl.so
Extract: mod_proxy.so
Extract: mod_proxy_ajp.so
Extract: mod_proxy_balancer.so
Extract: mod_proxy_connect.so
Extract: mod_proxy_ftp.so
Extract: mod_proxy_http.so
Extract: mod_rewrite.so
Extract: mod_setenvif.so
Extract: mod_speling.so
Extract: mod_ssl.so
Extract: mod_status.so
Extract: mod_substitute.so
Extract: mod_unique_id.so
Extract: mod_userdir.so
Extract: mod_usertrack.so
Extract: mod_version.so
Extract: mod_vhost_alias.so
Extract: util_ldap.so
Output folder: c:\xampp\htdocs
Output folder: c:\xampp\htdocs\xampp
Extract: .version
Extract: adodb.php
Extract: cds.php
Extract: mailform.php
Extract: mailsend.php
Extract: perl-info.php
Extract: phonebook.php
Output folder: c:\xampp\install
Extract: .version
Extract: install.php
Extract: serverupdate.sys
Extract: upgrade.php
Extract: xampp.update.php
Output folder: c:\xampp\mysql
Output folder: c:\xampp\mysql\bin
Extract: comp-err.exe
Extract: comp_err.exe
Extract: comp_sql.exe
Extract: echo.exe
Extract: gen_lex_hash.exe
Can't write: c:\xampp\mysql\bin\libmysql.dll
Last edited by waldemara on 31. January 2009 13:04, edited 1 time in total.
waldemara
 
Posts: 3
Joined: 21. November 2008 10:14

Re: Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby Izzy » 30. January 2009 00:24

waldemara wrote:Hi,

As I tried to upgrade from 1.6.8 to 1.7.0 and used xampp-win32-upgrade-1.6.8-1.7.0-installer.exe it gave me error "Can't write: c:\xampp\mysql\bin\libmysql.dll"

I stopped Apache and MySQL services through Xampp control panel and made sure they were stopped using services.msc (Im using Windows XP pro sp3).

I clicked abort and cancelled the installation. Then I disabled Apache and MySql services through services.msc and restarted the computer. As I came back to my desktop I tried to run upgrade again, but the same error occurred.
When a file can't be written to it may suggest it is still in use perhaps.

Have you had any other instances of MySQL installed?

When you have uninstalled the services check that no mysqld processes are running from the Task Manager.

After uninstalling the services try also from start>Run... type sc delete mysql then OK then try again but this time elect not to install any services as they can be installed after your installation is successful and all the demos work in the XAMPP welcome page at http://localhost or http://127.0.0.1

There may be some residue left over when repeatedly uninstalling XAMPP and reinstalling.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby waldemara » 30. January 2009 07:28

If I uninstall Xampp will I lose my databases in MySQL? htdocs I can backup of course but the damn databases...

So how can I backup my databases now that I can't get to phpMyAdmin??


BR,
Waldemara
waldemara
 
Posts: 3
Joined: 21. November 2008 10:14

Re: Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby Izzy » 30. January 2009 07:40

Go to xampp\mysql\data folder and copy the databases you want to save, but only those that are yours not the system databases like mysql and phpmyadmin etc. - you should know yours as the folders are named after the databases you created.

Copy them to a location outside of the xampp folder.

When you have successfully reinstalled and all the demos are working as they should then simply copy or move those database folders back into the new xampp\mysql\data folder, then run xampp\mysql\bin\mysql_upgrade.exe to have your database upgraded for the new version.

You can also save any folders and files from the htdocs folder.


A simple alternative is to drag the current xampp folder holding down the Ctrl key to make a Copy of xampp folder then simply uninstall and delete the current xampp folder.

You now have all your files and folders intact that you would only need copy to the new install folders and when your new install is functioning properly and all your databases are available in phpMyAdmin then simply delete the Copy of xampp folder - this is what I do.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby waldemara » 31. January 2009 13:03

Great!

That did it.. When I reinstalled Xampp it still did give me an error during libmysql.dll, but I just figured out to rename it (libmysql.dll.bk) and after that I was able to install correctly.. I don't know if that is the right way, but worked for me..

Thanks again.

BR,
Waldemara
waldemara
 
Posts: 3
Joined: 21. November 2008 10:14

Re: [SOLVED] Can't write: c:\xampp\mysql\bin\libmysql.dll

Postby Izzy » 31. January 2009 13:14

Thanks for posting back with your solution.

Renaming the dll may give issues but only time will tell.

Good luck.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 81 guests