Welcome to Dream.In.Code
Become an Expert!

Join 149,967 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,371 people online right now. Registration is fast and FREE... Join Now!




Mysql For Phpnuke

 
Reply to this topicStart new topic

Mysql For Phpnuke

REvoX
21 Jun, 2002 - 02:49 PM
Post #1

New D.I.C Head
*

Joined: 21 Jun, 2002
Posts: 1

hi i am having trouble with mysql, i dont know how to work it!

this is what i have to do:

-------------------------------------------------------------------
find the file called "nuke.sql"
this file contains the commands to build the database structure, tables and the default data.

1) Create a database called, for example, nuke:

mysqladmin create nuke

2) Now fill the databases with the tables in nuke.sql file:

mysql nuke < nuke.sql

-------------------------------------------------------------------

any help on this would be great as i do not know what the fu<k to do sad.gif

thanks

REvoX

User is offlineProfile CardPM
+Quote Post

Cookie Mobster
RE: Mysql For Phpnuke
21 Jun, 2002 - 04:33 PM
Post #2

nooneenooneenooonee
Group Icon

Joined: 12 Oct, 2001
Posts: 4,723



Thanked: 1 times
Dream Kudos: 18
My Contributions
Look slike you have the idea by the commands you wrote. What I do is use the mysql tool from the command line.
[code]
%mysql
>CREATE DATABASE nuke;
>exit
bye
%mysql nuke < nuke.sql
%
[code]
Cheers Moe
User is offlineProfile CardPM
+Quote Post

RE: Mysql For Phpnuke
22 Jun, 2002 - 10:26 AM
Post #3




Joined: --
Posts: 0

Or add the create db code to the file and run the entire file from the command line.

Incidently creating the DB requires that you have permission to do this. You may need your host to crerate the db and then you use the file to create the tables.

H
User is offlinePM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 06:28PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month