Nam
11-09-2000, 10:22 PM
I have this stupid question because I've never installed mySQL before. My host is tera-bytes.com (lucky that I had control over my dns or I'll wait for webexpose.net forever). Okay, I'm going to install PHP nuke. The install file says:
Change to the sql/ directory and there is a 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
3) In order to use the File Manager, please be sure to chmod 666 ALL files and 777 ALL directories.
But I don't know how to make sql file and what is the directory. I asked tera-bytes and they replied:
a mysql db has been setup for you on the localhost.
Database Name: myusername
Database Username: myusername
Database Password: ***
to use the db:
mysql -u myusername -p
enter your password when prompted
mysql> use myusername
You can place your php files etc and run them from ant folder on your site.
Please help, what did they mean? where can I type the mysql -u myusername -p? How can I create the nuke file above? I'm clueless. Thank you so much for helping me.
Change to the sql/ directory and there is a 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
3) In order to use the File Manager, please be sure to chmod 666 ALL files and 777 ALL directories.
But I don't know how to make sql file and what is the directory. I asked tera-bytes and they replied:
a mysql db has been setup for you on the localhost.
Database Name: myusername
Database Username: myusername
Database Password: ***
to use the db:
mysql -u myusername -p
enter your password when prompted
mysql> use myusername
You can place your php files etc and run them from ant folder on your site.
Please help, what did they mean? where can I type the mysql -u myusername -p? How can I create the nuke file above? I'm clueless. Thank you so much for helping me.
