Jump to content

[SOLVED] no mysql commands will works at all please help


zhahaman2001

Recommended Posts

ok i just installed

 

apache 2.2

php 5

mysql 5

 

and when i write a php file and have any mysql commands the script like jumps right over them and ignores them this is really wierd because i have phpmyadmin installed and that is working fine with both php and mysql becuase i am reading and writeing data with it

 

theres got to be a setting wrong somewhere in my server or something...

anyone have any ideas?

 

 

(if it matters this is how i set my server up)

http://autoindex.sourceforge.net/forum/apache.php?id=0

Link to comment
Share on other sites

Well, if you're accessing your mysql database through phpMyAdmin ok, then i would say that php and mysql are installed ok. So, i would guess that display_errors is set to off in your php.ini settings(try changing it to on) and that there is a problem with all your mysql commands. Could it be that you've forgotten to connect?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.