Can you help me to correct this errror?
Mostrar comentarios más antiguos
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 comentarios
Tomas
el 7 de Nov. de 2012
David Barry
el 7 de Nov. de 2012
Difficult to say without seeing the lines of code that are throwing the error. Can you include these. Is your password blank?
David Barry
el 7 de Nov. de 2012
Are you using fetch command?
David Barry
el 7 de Nov. de 2012
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
David Barry
el 7 de Nov. de 2012
Assuming of course you have the database toolbox
Respuestas (1)
Tomas
el 7 de Nov. de 2012
0 votos
3 comentarios
Tomas
el 8 de Nov. de 2012
David Barry
el 9 de Nov. de 2012
Have you tried using the built in database functions like I suggested?
Tomas
el 9 de Nov. de 2012
Categorías
Más información sobre Database Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!