Can you help me to correct this errror?
1 次查看(过去 30 天)
显示 更早的评论
Hi
Why sometimes I managed to connect MATLAB and MySQL and sometimes I get this error?? Can you help me please
No connections open
Connecting to host = localhost user = root password =
??? Error using ==> mym
Unknown MySQL server host 'localhost' (10022)
Error in ==> diagnostics>diagnostics_OutputFcn at 79
mym('open', 'localhost', 'root', '')
Error in ==> gui_mainfcn at 265
feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles);
Error in ==> diagnostics at 42
gui_mainfcn(gui_State, varargin{:});
thanks
6 个评论
David Barry
2012-11-7
As mym isn't a MATLAB command I assume you have downloaded something off the File Exchange. I suggest you try using the built in MATLAB function database.fetch which has a very good help document
回答(1 个)
Tomas
2012-11-7
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!