close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Data Assist Recordset MySQL Error when try to expand

Thread began 1/15/2012 9:15 pm by toni272059 | Last modified 1/16/2012 9:57 pm by toni272059 | 2215 views | 7 replies

toni272059

Data Assist Recordset MySQL Error when try to expand

I have been working thru the DataAssist Getting Started Guide. Everything was going smoothly until I reached Customizing your Pages, Details.php.

When I try to Expand the Recordset in the Bindings Panel I receive the following error
MySQL Error#: 1064
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 'group, `item-id`, item, `item-photo`, item-desc, `item-size`, item-price FROM `b' at line 1

I have gone thru the DataAssist Wizard twice trying different settings. The MySQL table items are all set to VARCHAR or TEXT or MEDIUMBLOB (for photos) . Database was created on my local computer using MAMP

If I try to open a file on my local computer in the browser the following error loads
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 '-products-table ORDER BY item LIMIT 0, 1000' at line 1

Follows content of exported .sql table. What am I missing...?

-- phpMyAdmin SQL Dump
-- version 2.11.7.1
-- www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 15, 2012 at 09:12 PM
-- Server version: 5.0.41
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `boomerang-products`
--

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

--
-- Table structure for table `boomerang-products-table`
--

CREATE TABLE `boomerang-products-table` (
`maincategory` varchar(55) NOT NULL,
`subcategory` varchar(55) NOT NULL,
`group` varchar(55) NOT NULL,
`item-id` varchar(15) NOT NULL,
`item` varchar(55) NOT NULL,
`item-photo` mediumblob NOT NULL,
`item-desc` text NOT NULL,
`item-size` varchar(55) default NULL,
`item-price` varchar(11) NOT NULL,
PRIMARY KEY (`item-id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `boomerang-products-table`
--

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...