I don't now how to create an mysql.....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kujtim
Forum Commoner
Posts: 35
Joined: Sat Oct 25, 2003 4:00 am
Location: kosovo
Contact:

I don't now how to create an mysql.....

Post by kujtim »

I don't now how to create an mysql database and upload it on the website on my computer evrithing was working ok . but when I upload it on the
WS FTP evrithing goes wrong .hare is my database

------------------------------------------------------------------
#
# Host: localhost
# Generation Time: Aug 11, 2003 at 09:34 PM
# Server version: 3.23.56
# PHP Version: 4.3.2
# Database : `test`
# --------------------------------------------------------

#
# Table structure for table `articles`
#
# Creation: Aug 11, 2003 at 09:30 PM
# Last update: Aug 11, 2003 at 09:30 PM
#

CREATE TABLE `vot` (
`emri` varchar(255) default NULL,
`mbiemri` mediumtext,
`votat` date default NULL,
`TIMESTUMP` datetime default NULL,
`active` int(1) default '1',
PRIMARY KEY (`emri`)
) ;
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

the easiest way is to use PHPmyadmin

if you have it:
browse to
http://localhost/phpmyadmin.php

you can administer MySQL databases from there

if you dont have it i suggest u get it
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

malcolmboston wrote:if you dont have it i suggest u get it
And you can get it here:
http://www.phpmyadmin.net/home_page/

Good luck with installing: it's not very hard but a bit tricky sometines....
Post Reply