Jump to content

need help with phpmyadmin


hailam

Recommended Posts

I am trying to run a free filehosting script, my problem is I cannot import the .sql file into the database.

 

this is the error I get:

 

Error

 

SQL query:

 

-- phpMyAdmin SQL Dump

-- version 2.9.2

-- http://www.phpmyadmin.net

--

-- Host: localhost

-- Generation Time: Dec 12, 2007 at 05:16 PM

-- Server version: 5.0.27

-- PHP Version: 5.2.1

--

-- Database: `filehost`

--

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

--

-- Table structure for table `bannedips`

--

DROP TABLE IF EXISTS `bannedips` ;

 

 

MySQL said:  

#1046 - No database selected

 

 

and there is one other problem:

the images on the script also cannot preview, check from this link:

http://www.eyn.comli.com/dhishare/

 

please help me.

 

thank you

Link to comment
Share on other sites

The new database does not "have" to be file host. But the problem is the same, you need a database to enter all that SQL into, and as such you do not have a database created/selected to use. In phpMyAdmin you should have a list of database on the left hand side, if you created one for this project select it then click on the import tab on the right and it should use that database.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.