EMySqlEcxeption with message '#42S02Table 'test;emp' doesn't exist
EMySqlEcxeption with message '#42S02Table 'test;emp' doesn't exist
Hi there,
i've just downloaded MyDac for delphi7, trying to use the demo: "Using TMyTable component", i get this error message (see title) once i try to connect to my database, what could be the reason?
i've just downloaded MyDac for delphi7, trying to use the demo: "Using TMyTable component", i get this error message (see title) once i try to connect to my database, what could be the reason?
trying to use conndialog, which is a demo coming with MyDac, i noticed that when i change the database i wish to connect to (my previous message mentionned a database named test) it still try to find a table named "employees", see the error message:
EMySqlException with message ' #42S02Table 'mysql.employees' doesn't exist'...
well on this one for sure it's right, there are no table named employees in this database!
EMySqlException with message ' #42S02Table 'mysql.employees' doesn't exist'...
well on this one for sure it's right, there are no table named employees in this database!
Please run the Query demo of MyDAC, paste the following SQL code into the memo and push the Open button (note, this multi-statement query not be executed on MySQL 3.23).
If no error is raised and you see a single record in the grid, try to test the Table demo with the Emp table name.
Code: Select all
DROP TABLE IF EXISTS EMP;
CREATE TABLE EMP (
EMPNO INT PRIMARY KEY,
ENAME VARCHAR(10),
JOB VARCHAR(9),
MGR INT,
HIREDATE DATETIME,
SAL FLOAT,
COMM FLOAT,
DEPTNO INT
);
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,'1980-12-17',800,NULL,20);
SELECT * FROM EMP