Mysql connection problem. (Solved)

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

Mysql connection problem. (Solved)

Postby Sumeet » 02. August 2010 08:14

I have searched the whole forum & searched the whole internet -> whole day ->finally with no success -> So I have posted my problem here.Please help me out

I don't know there's an odd problem with me .
I have installed xampp successfully.
I can run php scripts successfully.
I can run html successfully.

But when it comes for mysql database integration ,don't know why I don't have any effect on mysql functions and connection.
Checkout my screenshot here.
All mysql queries are just displaying in my browser without execution or any effect.
I have some screenshots below so that you all can understand exactly whats fault


This screenshot is from my server
Removed

The same screenshot of above script from another hosting
Removed

Onather screenshot from my server
Removed

The same above screenshot in normal hosting
Removed


I am 100% sure that my database , username and password are perfect ,I don't know where the fault lies.
And assume even if my username and passwords are not correct than atleast it should execute the mysql functions&queries....but all mysql functions , scripts are just displaying in my browser without any effect...

Please help me out...
Also there are no faults in the scripts ...I tested same scripts on other hosting..they are working perfect....but not on my localhost..
I will be very grateful if anyone could help me out from this.
thank you.


-Sumeet
Last edited by Sumeet on 02. August 2010 08:50, edited 1 time in total.
Sumeet
 
Posts: 8
Joined: 02. August 2010 07:19

Re: Mysql connection problem. (please help me out)

Postby Altrea » 02. August 2010 08:21

Sumeet wrote:Also there are no faults in the scripts ...I tested same scripts on other hosting..they are working perfect....but not on my localhost..

Thats no guarantee for for correct code!

Maybe it's a short_open_tags issue.
Try the board search for this keyword
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Mysql connection problem. (please help me out)

Postby Sumeet » 02. August 2010 08:25

Altrea wrote:Maybe a short_open_tags issue.
Try the board search for this keyword


I have searched the whole forum ...before posting and finally came to the situation to post.
And if you don't matter please give me any links if you know which lead to my problem.Because I have searched already I didn't get anything related to my problem.
Thanks for replying.
-Sumeet
Last edited by Sumeet on 02. August 2010 08:29, edited 1 time in total.
Sumeet
 
Posts: 8
Joined: 02. August 2010 07:19

Re: Mysql connection problem. (please help me out)

Postby Altrea » 02. August 2010 08:27

Sumeet wrote:I have searched the whole forum ...before posting and finally came to the situation to post.

Try "short_open_tags" in the board search. I guarantee, there will be >15 posts relating to the topic!
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Mysql connection problem. (please help me out)

Postby Sumeet » 02. August 2010 08:49

Altrea wrote:
Sumeet wrote:I have searched the whole forum ...before posting and finally came to the situation to post.

Try "short_open_tags" in the board search. I guarantee, there will be >15 posts relating to the topic!


@ Altrea
Thank you for your fast response,
Really it was just a silly problem...Now its perfect
Thank you again.

-Sumeet
Sumeet
 
Posts: 8
Joined: 02. August 2010 07:19


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 185 guests