Go Back   The macosxhints Forums > OS X Help Requests > Applications

Thread Tools Rate Thread Display Modes
Old 02-19-2002, 10:21 AM   #1
Triple-A Player
Join Date: Feb 2002
Posts: 149
phpNuke and MySQL

I don't know if this is the right place for this question.

I know nothing about php or mysql. I installed phpNuke last night, and during the initial admin account setup, "create a normal user with same name" was checked. I didn't think this would be a problem, but now when I tried to log in as the admin, it thinks I am a normal user (w/out admin privs).

If anyone knows how to login as an admin with the same name and pass as another user, let me know.

Otherwise, could someone tell me how to erase the original database 'nuke', and start over with a clean database.
ArtemisG3 is offline   Reply With Quote
Old 02-21-2002, 12:10 PM   #2
Triple-A Player
Join Date: Jan 2002
Posts: 62
Open Terminal, and log in as your super user. After logging into MySQL, you can either drop the table or if you want, drop the whole database that PHPNuke is using.

To drop the table, type in:
drop table (name of your table);

To drop the entire database:
drop database (name of your database);

By the way, if you want to learn a lot about PHP and MySQL, check out the book called PHP and MySQL Web Development by Luke Welling and Laura Thomson. This has been one of my best book purchases and it taught me a lot.
Crusty is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:37 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.