Noob question sql File problem

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
mrix
Forum Newbie
Posts: 1
Joined: Wed Mar 03, 2004 7:19 am

Noob question sql File problem

Post by mrix »

Hi I have installed php nuke 7 and there is a ClanBase Mod I would like to upload, my problem is I`m not sure what to do with the sql file? the instuctions are here.

" Nothing to edit anymore, I updated the Package, just upload the maps (keeping the same directory structure)
,activate the modules, blocks and run the sql file. Through the admin panel you can add your clan by filling in the fields."

I have uploaded to the varius directories etc but I`m not sure what is ment by " run sql file"? on my page which can be viewed here you can see the errors.

many thanks for any help with this
cheers
mike
http://www.resurrection-clan.co.uk
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

The usual way to 'run an sql' file is to do the following from a command prompt.

mysql -u username -p thedbname < thefile.sql

(it will prompt you for the mysql user password). Failing that, you could always use phpMyAdmin if you have that or something similar.
Post Reply