Forum Moderators: open

Message Too Old, No Replies

How to execute a script on MySQL server?

         

Ladan Lashkari

5:04 pm on Aug 17, 2006 (gmt 0)

10+ Year Member



Hello,

I'm installing an ad tracking script called "Ad Tracker Pro" and in the Help file, it says I need to "execute 'database.sql' script on MySQL server to create necessary tables".

I searched everywhere in my phpMyAdmin control panel but couldn't find a link or button titled "execute".

Do you know how I can do what they've said?

Thank you,

Ladan

physics

5:10 pm on Aug 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi, Ladan Lashkari, welcome to WebmasterWorld.com!

The manual shouldn't say execute, it should say import or something like that.

On the command line you can do
mysql -uuname -ppass dbname < dbname.sql
to import the database.

In phpmyadmin there is an import link on the main page.