harlequin2k5
02-11-2006, 06:43 PM
In an earlier post I had asked about making a switch to mysql/php and was found that I could download mysql and then later found that I could use the phpmyadmin in my ftp admin panel
I'm so confused right now it's not even funny...
I went ahead and created a database using my local mysql as I've been unable to create one on phpmyadmin - this is the error I get
Error
SQL-query :
CREATE TABLE `wholesalerlist` (
`WholesalerID` INT( 50 ) BINARY NOT NULL AUTO_INCREMENT ,
`WholersalerName` TEXT( 50 ) BINARY NOT NULL ,
`WholesalerAddress1` TEXT( 50 ) BINARY,
`WholesalerAddress2` TEXT( 50 ) BINARY,
`WholesalerCity` TEXT( 50 ) BINARY,
`WholesalerState` TEXT( 50 ) BINARY,
`WholesalerZip` TEXT( 50 ) BINARY,
`WholesalerPhone` TEXT( 50 ) BINARY,
`WholesalerFax` TEXT( 50 ) BINARY,
`WholesalerEmail` TEXT( 50 ) BINARY,
`WholesalerURL` TEXT( 50 ) BINARY,
PRIMARY KEY ( `WholesalerID` ) ,
INDEX ( `WholersalerName` )
) COMMENT = 'Wholesalers List'
MySQL said:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'BINARY NOT NULL AUTO_INCREMENT, `WholersalerName` TEXT(50) BINA
I see that it keeps referencing "localhost" and this is what is confusing me as my computer is not the server (suncoastwebdes.wholesalerlist running on localhost - phpMyAdmin 2.5.0)
When I go into my admin panel I have the option to setup a new access db/dsn or MySQL Admin Tool which takes me direct to phpMySQLAdmin
I'm completely lost and any help is greatly appreciated
I'm so confused right now it's not even funny...
I went ahead and created a database using my local mysql as I've been unable to create one on phpmyadmin - this is the error I get
Error
SQL-query :
CREATE TABLE `wholesalerlist` (
`WholesalerID` INT( 50 ) BINARY NOT NULL AUTO_INCREMENT ,
`WholersalerName` TEXT( 50 ) BINARY NOT NULL ,
`WholesalerAddress1` TEXT( 50 ) BINARY,
`WholesalerAddress2` TEXT( 50 ) BINARY,
`WholesalerCity` TEXT( 50 ) BINARY,
`WholesalerState` TEXT( 50 ) BINARY,
`WholesalerZip` TEXT( 50 ) BINARY,
`WholesalerPhone` TEXT( 50 ) BINARY,
`WholesalerFax` TEXT( 50 ) BINARY,
`WholesalerEmail` TEXT( 50 ) BINARY,
`WholesalerURL` TEXT( 50 ) BINARY,
PRIMARY KEY ( `WholesalerID` ) ,
INDEX ( `WholersalerName` )
) COMMENT = 'Wholesalers List'
MySQL said:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'BINARY NOT NULL AUTO_INCREMENT, `WholersalerName` TEXT(50) BINA
I see that it keeps referencing "localhost" and this is what is confusing me as my computer is not the server (suncoastwebdes.wholesalerlist running on localhost - phpMyAdmin 2.5.0)
When I go into my admin panel I have the option to setup a new access db/dsn or MySQL Admin Tool which takes me direct to phpMySQLAdmin
I'm completely lost and any help is greatly appreciated