introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

mysql works in phpmyadmin but which does not work into codes!(web site!)



Posted by: kuzgunisiyah
March 24, 2010 05:12PM
i was using XP operating sistem then changed to windows 7. after then easyphp has some problem!

apache and mysql work prfect into phpmyadmin but with my codes which doesn't work.

it is give the following message:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\EasyPHP-5.3.2\www\..

i closed the mysql then traied also same message i toke...

* i unchecked check started TCP port option on to panel..
* permissions are ok.
* firewall http and https oprtion ok.
* i closed firewall anf tried :)

my codes and DB does work into XP and phpmyadmin into windows 7 but does not work web site of windows 7!

do you have any idea? :)
Options: ReplyQuote
Posted by: Thierry
March 25, 2010 06:05PM
According FAQ, use 127.0.0.1 address into your scripts to connect to mysql.
Options: ReplyQuote
Posted by: kuzgunisiyah
March 26, 2010 09:45AM
also i tried both of them...

$result = new mysqli('localhost', 'root', 'mysql', 'asya');
$result = new mysqli('127.0.0.1', 'root', 'mysql', 'asya');

NOT WORK!
Options: ReplyQuote
Posted by: kuzgunisiyah
March 26, 2010 10:14AM
SOLVED!?

i dont know why but windows 7 does not like the 5.3.2 version... uninstall it and setup 5.2.10 and it is work! but with no password as this

$result = new mysqli('localhost', 'root', '', 'asya');

actualy, it works with a default password as `mysql` but again not!!!

the computers like a women! so complicate to understand how they work!

have a good day and thanks to your interests...
Options: ReplyQuote
Posted by: Thierry
March 26, 2010 11:12AM
It should works on seven...


> the computers like a women! so complicate to understand how they work!

Did you succeed to make a woman works ??? Give us your secret :-)
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.