logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: [SOLVED] MySQL installation fails
Author
uring



Joined: 26 Sep 2011
Posts: 4

PostPosted: Fri 21 Oct '11 15:27    Post subject: [SOLVED] MySQL installation fails Reply with quote

Sorry to bump post, but look like same problem with mine (XP). I'm just user at localhost

James Blond wrote:
Did you install apache or / and mysql as service?

- apache as service [work]
- php as apache handler [work]
- mysql as service or "not" as service [cannot connect to localhost (1106 - forget the number) another say failure]

James Blond wrote:
did you reboot your computer yet?

- reboot [mysql not work]
- "not" reboot [mysql still not work]

James Blond wrote:
Are you talking about the xampp control panel?

- xampplite [work great]
- xampp 1.7.7 [mysql "not" work]
- apache stand alone (from apache lounge) [work]
- php [as CGI, as apache handler "work"]
- mysql [a lot of methods I try just "failed"]

Please advice for mysql, please?
Or am I in wrong forum?
Will threat new post if necessary
Any advice will appreciated. Thanks


Last edited by uring on Tue 25 Oct '11 3:26; edited 1 time in total
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 21 Oct '11 16:20    Post subject: Reply with quote

How did you install mysql? XAMPP or downloaded form mysql.com (zip? or msi? or exe?)
Back to top
PuzzleScot



Joined: 20 Oct 2011
Posts: 7

PostPosted: Fri 21 Oct '11 17:41    Post subject: Reply with quote

My MySQL is working fine. It was downloaded from mysql.com some time ago as mysql-5.1.30-win32.zip, which just contained a setup.exe.
Back to top
uring



Joined: 26 Sep 2011
Posts: 4

PostPosted: Sat 22 Oct '11 11:22    Post subject: Reply with quote

James Blond wrote:
How did you install mysql?

A lot of try:
- with "zip-noinstall" failed
- with "msi" failed
- my.ini at any where place necessary [failed]
- MySQL as service or "not" as service [failed]

Most error said
- something wrong with socket
- Cannot connect to localhost machine refuse
- If I try connect via php "mysql_connect" error said, Can't connect ..... tcp:/ /localhost:3360
Look like I'm wrong in configs or something. It's weird, should be http:/ /localhost
As service or "not" as service look like no effect

James Blond wrote:
XAMPP or downloaded form mysql.com (zip? or msi? or exe?)

Using xampp 1.7.3 no problem at all with mysql
clean uninstall 1.7.3 then try install 1.7.4
- mysql not work.
uninstall 1.7.4 Then try xampp 1.7.7 for test failed on MySQL
reboot/restart procedure allways do.
Then try from zip
- MySQL is installed but some how cannot connect to localhost. Do I need create database/user before run/install. If yes how?

With msi, yes I ever try but no luck
With exe, not try (do not no the place) yet.

- apache [no problem]
- php [no problem]
- MySQL want to connected with phpMyAdmin [tough failed]
With old xampp 1.7.3 no problem
Now want to try install apache alone, php alone, my sql alone. Installed one by one.
Am I should be install 1.7.3 and give up?

Any advice will be appreciated
thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sat 22 Oct '11 22:51    Post subject: Reply with quote

once I wrote a how to also with mysql. http://www.apachelounge.com/viewtopic.php?t=2394

scroll down to the mysql part.

With the MSI I can't tell what failed. What is in the windows event log?
Back to top
uring



Joined: 26 Sep 2011
Posts: 4

PostPosted: Sun 23 Oct '11 12:00    Post subject: Reply with quote

Thanks for the link
"windows event log" oops not yet check that part, thanks
will try tonight
Back to top
uring



Joined: 26 Sep 2011
Posts: 4

PostPosted: Tue 25 Oct '11 3:24    Post subject: [SOLVED] 127.0.0.1 instead of localhost Reply with quote

Use 127.0.0.1 for host
Thank for the help support
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Oct '11 9:39    Post subject: Reply with quote

Ok that makes it more clear. The reasons is that localhost often resolves as ::1 (Ipv6).

Do you get that too when you ping localhost?
Back to top


Reply to topic   Topic: [SOLVED] MySQL installation fails View previous topic :: View next topic
Post new topic   Forum Index -> Other Software