Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie issue establishing connection with PHP and priviledges

Status
Not open for further replies.

operamatic

Technical User
Apr 7, 2004
56
CA
I'm running into an issue trying to run an script to build tables in a database for a web browser organizer(Tasks by alexking.org) and everything is preconfigured pretty much to run, just create a database for it and assign user and password to the database.php provided.(doesn't create tables for me) I've tried his forum for answers, but all the simple answers aren't working.

I've had previous success with building a tutorial with php executing adding info to a simple table with proper priviledges, Does anyone know why it's not working on this or how to establish an actual connection?

MySQL shows that tasks is a running db process, PhpMyAdmin show my user password is working with the database.

The page that builds the tables reads: disconnect(); ?>The database should be set up now.

But it shouldn't have the " disconnect(); ?> " part in it according to alex king.
Thanks in advance!
 
Sorry I'm such a newb. is that in the my.ini file? or do I execute some lines in cmdprompt as the root user for mysql?
 
I just found that it writes to an .err file automatically
nothing unusual in there.
And if it helps I'm running a WAMP setup on a win 2000.
I've uninstalled and reinstalled MySQL and still my other .php files that access and write to the tables work, but just not this script file. I'm baffled.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top