-2

I have a problem with mysql on xampp.

cd c:/xampp/mysql/bin mysql.exe How to log in to my database ? http://wrzucacz.pl/download/5511422226146

TiKey
  • 1
  • Post it as an image not as a download. – Mihai Jan 25 '15 at 22:51
  • Check this link in case it helps you with your question. http://stackoverflow.com/questions/698914/how-can-i-access-the-mysql-command-line-with-xampp-for-windows –  Jan 25 '15 at 22:54
  • i have problem because when i wrote something i have on screen only -> ? – TiKey Jan 25 '15 at 22:57

1 Answers1

0

Start MySQL from xampp control panel

cd c:\xampp\mysql\bin
mysql.exe -u root --password

you will be prompted to insert your password

A similar question though has been posted before How can I access the MySQL command line with XAMPP for Windows?

Community
  • 1
  • 1
  • Yes but 2 problem. When i write to cmd after log in mysqladmin -u root create database69 i got only "->" – TiKey Jan 25 '15 at 23:08
  • Remember to finish each line with ; – Alvaro Flaño Larrondo Jan 25 '15 at 23:09
  • to use a certain database type ->\u "database_name" –  Jan 25 '15 at 23:18
  • once you have selected the database you want to use, type your command, e.g. select * from tablename; Don't forget to finish each line with ; as @AlvaroFlañoLarrondo wrote. In case you want to change the delimiter from ; to something else type ->\d new_delimiter_symbol_of_your_choise –  Jan 25 '15 at 23:24