muniappan Posted April 30, 2005 Report Share Posted April 30, 2005 hellow friends,this is Muniappan from Purple Green Technologies, India. i found one error while accessing remote MySQL database.about MySQL isVerson :MySQL Server 4.1my command for access remote machine is: c:/>MySQL/MySQL Server 4.1/bin>mysql -u pgt-04 -h root GRSwhere pgt-04: remote System name GRS : database name in pgt-04 machineError i got: "ERROR 2005 <HY000>:unknown MySQL Server host 'root' <11001>"i want solution to this problem. this is very urgent.reply me soonregardsmuniappan Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted April 30, 2005 Report Share Posted April 30, 2005 It appears MySQL is looking for the hostname portion of the command where you are typing the root part of the command. What does the root mean? You could trymysql -u root -h pgt-04 GRSBut, I have 0 experience with SQL so you may want to wait for a more solid answer. Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted April 30, 2005 Report Share Posted April 30, 2005 Did some googling:mysql -u root -p pgt-04 GRCmysql -u root -h localhost -p pgt-04 GRC-u means user-h means host-p means server Quote Link to comment Share on other sites More sharing options...
doug Posted May 3, 2005 Report Share Posted May 3, 2005 Report:i yet solve my problem with MySQLi need help pls.......tell me the solutionregardsmuniappan Reply from muniappan which was misposted. Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted May 6, 2005 Report Share Posted May 6, 2005 Bump?http://www.w3schools.com/sql/default.asp Quote Link to comment Share on other sites More sharing options...
scuzzman Posted May 9, 2005 Report Share Posted May 9, 2005 OP: Are you still experiencing difficulty?Bumping this just in case... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.