Shopping Cart Database

Installation and configuration iussues

Moderators: macek, egami, gesf

Post Reply
jorgepinho
New php-forum User
New php-forum User
Posts: 101
Joined: Tue Jul 05, 2011 5:41 am
Location: Portugal
Contact:

Re: Shopping Cart Database

Post by jorgepinho » Wed Jul 06, 2011 10:06 am

Hi,

Probably that is a script to create the DB, not the DB itself

If it is mySQL, you have to install mysql

--
Jorge
Live Help on Skype: lets.talk.about.help
(languages: english, portuguese)

jorgepinho
New php-forum User
New php-forum User
Posts: 101
Joined: Tue Jul 05, 2011 5:41 am
Location: Portugal
Contact:

Re: Shopping Cart Database

Post by jorgepinho » Wed Jul 06, 2011 1:53 pm

Hi,

Ah! ok... you have WAMP!

Mysql is a server... this server has many databases (DB). You can create a DB by hand... table by table, field by field... or you can run a script.

The .sql file that you have is a script, it has commands that will create all the tables for you. So you have to run that script on Mysql environment.

Go to Mysql install folder and run mysql.exe, it will open a command line tool that allows you to control all the Mysql server. Or, you can install "mysql workbench", its a front-end to mysql server.

After the script runs sucessfully, you have a working DB!

You will need to put somewhere on PHP some config to connect to mysql (host, username and password and DB)

--
Jorge
Live Help on Skype: lets.talk.about.help
(languages: english, portuguese)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests