If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > mysql connection error ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-04, 08:15
exoss exoss is offline
Registered User
 
Join Date: Jan 2004
Posts: 4
Question mysql connection error ?

when i try to run mysql in dos mode, it gives an error : you don't have an access permission with username:ODBC@localhost and NOpassword ... normally the user should be the root, but i didnt understand this ... and when i try to install a script that using mysql-database, it gives : no database selected error ... i need your help ...
Reply With Quote
  #2 (permalink)  
Old 07-13-04, 15:30
jmut jmut is offline
Registered User
 
Join Date: Mar 2004
Location: Bulgaria
Posts: 22
Quote:
Originally Posted by exoss
when i try to run mysql in dos mode, it gives an error : you don't have an access permission with username:ODBC@localhost and NOpassword ... normally the user should be the root, but i didnt understand this ... and when i try to install a script that using mysql-database, it gives : no database selected error ... i need your help ...
to make a connection as root try smth like this:
mysql -u root -p
-p - requires you to enter password. if no password is need just press enter.
Other than that you should check how the servers is configured (my.ini for example).
Hope I've been helpful somehow but I strongly recommend you reading some basic tutorials. Basic stuff is very important, don't rely on forums for this.
Reply With Quote
  #3 (permalink)  
Old 07-13-04, 18:28
Steve T. Steve T. is offline
Registered User
 
Join Date: Sep 2003
Location: So. Cal. USA
Posts: 142
I'm still new to PHP/MySQL but I have found the web utility phpMyAdmin very helpful with both learning SQL commands and "just getting something going" fairly quickly when I did not have time to learn how to something in SQL. This utility will not help you w/your connection in this case, but it can help you see what the permissions are for your various MySQL users, databases, and tables.

It may be worth a look for you.
--ST
Reply With Quote
  #4 (permalink)  
Old 07-14-04, 17:58
exoss exoss is offline
Registered User
 
Join Date: Jan 2004
Posts: 4
thanks for your replies ...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On