Embedded demo: How to run it
Embedded demo: How to run it
I have manually created folders: database and test under the 'data'.
For TMyEmbConnection, I set the followings:
1)TMyEmbConnection.username
2)TMyEmbConnection.password
What should I set the TMyEmbConnection.database ?
If I have created a database called "employee" in MySQL 5, should I set this property to "employee".
Fo TMyTable, I set the TableName property to one of the tables in the database "employee".
Besides these changes, what else I need to change in order to run this demo ?
I added the subfolders data/mysql and data/database under the executable folder.
What files do I need to added into these folders ?
For TMyEmbConnection, I set the followings:
1)TMyEmbConnection.username
2)TMyEmbConnection.password
What should I set the TMyEmbConnection.database ?
If I have created a database called "employee" in MySQL 5, should I set this property to "employee".
Fo TMyTable, I set the TableName property to one of the tables in the database "employee".
Besides these changes, what else I need to change in order to run this demo ?
I added the subfolders data/mysql and data/database under the executable folder.
What files do I need to added into these folders ?
Finally I found this libmysqld.dll in Adobe directory, I put it in System32 and also in the same folder as the Embedded demo directory.
Now I run the demo connecting with MySQL 4.1 but got an exception:
"A call to an mysql_server_init failed.
Access violation at address 004047D3 in module 'Embedded.exe'. Read of address 79171BE1 C:\temp\mysql demo\embedded\.\share\charsets\index - The system cannot find the path specified"
Actually I cannot find the '.' folder created inside the demo.
How come the demo is so difficult to run ?
Now I run the demo connecting with MySQL 4.1 but got an exception:
"A call to an mysql_server_init failed.
Access violation at address 004047D3 in module 'Embedded.exe'. Read of address 79171BE1 C:\temp\mysql demo\embedded\.\share\charsets\index - The system cannot find the path specified"
Actually I cannot find the '.' folder created inside the demo.
How come the demo is so difficult to run ?
> C:\temp\mysql demo\embedded\.\share\charsets\index - The system cannot
> find the path specified"
Please check if you have C:\temp\mysql demo\embedded\share\charsets\index
folder.
> What is the '.' means ?
"Nothing" or "Current folder". For example, "C:\temp\.\share" and "C:\temp\share" are synonyms. You can read details in MSDN
> find the path specified"
Please check if you have C:\temp\mysql demo\embedded\share\charsets\index
folder.
> What is the '.' means ?
"Nothing" or "Current folder". For example, "C:\temp\.\share" and "C:\temp\share" are synonyms. You can read details in MSDN
Last edited by Ikar on Mon 24 Oct 2005 12:56, edited 1 time in total.
> Finally I found this libmysqld.dll in Adobe directory
You should use libmysqld.dll from your MySQL 4.1 server distributive.
Also you can copy "share" folder from MySQL to demo.
Usually it's enough to run demo.
Note: You should download full MySQL server package (http://dev.mysql.com/get/Downloads/MySQ ... /from/pick) to get libmysqld.dll
You should use libmysqld.dll from your MySQL 4.1 server distributive.
Also you can copy "share" folder from MySQL to demo.
Usually it's enough to run demo.
Note: You should download full MySQL server package (http://dev.mysql.com/get/Downloads/MySQ ... /from/pick) to get libmysqld.dll