職案人

求職・歴史・仏教などについて掲載するつもりだが、自分の思いつきが多いブログだよ。適当に付き合って下さい。

コマンドラインからデーターベース成功!

2015年03月07日 | mySQL

MySQLへの接続準備のためパスを切り替える。

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\・・・>cd c:\xampp\mysql\bin

c:\xampp\mysql\bin>mysql -h localhost -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: N
O)

正しいパスワードが入力できればMySQLへの接続が完了

c:\xampp\mysql\bin>mysql -h localhost -u root -p
Enter password: *****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.21 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする

分かる人いない?

2015年03月07日 | java

JAVアプレットでテキストフィールドを使って、日本語を入力すると、このメッセージが出て、アプレットが閉じてしまう。どうすればいい?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x59a2b293, pid=5876, tid=5888
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) Client VM (25.20-b23 mixed mode windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xdb293]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x14606400):  JavaThread "AWT-Windows" daemon [_thread_in_vm, id=5888, stack(0x14970000,0x149c0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00000001, ECX=0x00000040, EDX=0x1460395c
ESP=0x149bf154, EBP=0x149bf174, ESI=0x14606400, EDI=0x0092dda4
EIP=0x59a2b293, EFLAGS=0x00010246

Top of Stack: (sp=0x149bf154)
0x149bf154:   044d04a0 0092dda4 14606538 00000001
0x149bf164:   14606400 00000000 14606400 149bf1a4
0x149bf174:   149bf1a4 59fd8ca4 14606538 00000001
0x149bf184:   0092dda4 00000000 145090d8 14487418
0x149bf194:   00000000 15536cb0 14487420 00000000
0x149bf1a4:   149bf214 59fdb315 0000044c 14487418
0x149bf1b4:   00000001 145fac90 145facf0 00000000
0x149bf1c4:   00000000 00000000 00000001 00000000

Instructions: (pc=0x59a2b293)
0x59a2b273:   00 89 75 f0 c7 45 f4 00 00 00 00 74 08 8d 4d f0

コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする