{"data":{"question_details":{"data":{"answers":[{"qid":"6769165784762564871","aid":"6769168784386179342","uid":"2985916299218536","uname":"用户2985916299218536","avatar_url":"https://sf1-cdn-tos.toutiaostatic.com/img/user-avatar/7c4bf3f97697cc6cdf5d4e248998820a~300x300.image","auth_info":"","content":"\u003cp\u003e1、进行打开电脑Navicatformysql已经安装好的,然后进行点击右上角的“连接”选项。\u003c/p\u003e\u003cp\u003e2、这样就会弹出了一个新建连接的窗口的界面中,在连接名中输入名称,而在主机名在本地的数据库,所以使用localhost即可,密码为空即可。\u003c/p\u003e\u003cp\u003e3、然后方便连接的数据库是否连接成功的话,那么就需要先测试下,进行点击连接测试。\u003c/p\u003e\u003cp\u003e4、可以看到的显示连接成功了,然后进行点击确定即可。\u003c/p\u003e\u003cp\u003e5、进入连接数据界面中,现在不能显示为需要的数据库,需要进行双击即可。\u003c/p\u003e\u003cp\u003e6、可以看到显示这个用户名的所有的数据库。 \u003c/p\u003e","abstract":"1、进行打开电脑Navicatformy...","create_time":1576069925,"update_time":1674515063,"digg_info":{"digg_count":0,"own_digg":false,"digg_list":null},"comment_info":{"comment_count":0},"repost_info":{"repost_count":0},"audit_info":{"audit_status":-1,"audit_status_msg":"","audit_status_msg_desc":""},"pv":0,"vl":65,"content_with_entity":"","extra":{"from_spam_user":"1","modify_time":"1674515063","propedit_review_visibility":"{\"prop_name\":\"review_visibility\",\"prop_value\":\"65\",\"editor\":\"toutiao.search_content.script\",\"reason_code\":0}","search_nice_answer":"1","ugc_shark_decision":"{\"Decision\": \"BLOCK\", \"DecisionDetail\": \"reject\", \"HitStatus\": \"{\\\"32473\\\":{\\\"decision\\\":\\\"BLOCK\\\",\\\"decision_detail\\\":\\\"reject\\\"}}\"}","wd_activity_from":"answer_get_bonus","wd_source":"question_click_write_answer","wdh_client_ip":"125.25.54.65"},"integral_order_list":null,"integral_count":0,"bury_info":{"bury_count":0,"own_bury":false},"sent_flower_status":0,"could_show_flower_text":false,"author_digg_count":898,"author_show_digg_status":true,"ban_comment":false,"relation_info":{"is_following":false},"user_status":{"is_cancelled":false,"is_banned":true},"feedback_user_not_acted_aid":true,"help_info":{"is_helpful_count":0,"own_is_helpful":false}}],"has_more":false,"question":{"qid":"6769165784762564871","title":"启动mysql后怎么连接数据库?","content":"","pictures":null,"answer_count":1,"pv":731,"embrave":{"embrave_type":0,"integral_count":0,"gold_count":0,"reward_time":0},"create_time":1576069226,"vl":65,"audit_info":{"audit_status":2,"audit_status_msg":"","audit_status_msg_desc":""},"new_answer_cnt":0,"question_belong_status":2,"user_info":{"uid":"","uname":"我们是湖南人","avatar_url":"https://sf6-cdn-tos.toutiaostatic.com/img/mosaic-legacy/8611/3471710398~300x300.image"},"extra":{"has_nice_answer":"1","has_out_answer":"1","modify_time":"1674036217","need_reproduce_spam_qid":"1","propedit_review_visibility":"{\"prop_name\":\"review_visibility\",\"prop_value\":\"65\",\"editor\":\"toutiao.search_content.script\",\"reason_code\":0}","wdh_client_ip":"127.0.0.1"},"img_q_integral":0,"feedback_user_not_answered":true,"feedback_user_not_acted":true},"rank1_could_show_flower_text":false,"contentType":"application/json; charset=utf-8","fontStyle":{"domains":["tosv.boe.byted.org"],"filename":"","base64":[],"fontKey":"","tosSuffix":""},"fontKey":"","fontStyleString":""},"errcode":0,"errmsg":"success"},"login_info":{"data":{"is_answered":1,"is_new":true,"uid":"","user_info":{"uid":"","uname":"","avatar_url":""}},"errcode":0,"errmsg":"success"}},"commonData":{"isSsrFrame":true,"ttLogId":"202302092112430101501341671EC0191A","location":{"hash":"","host":"so.toutiao.com","hostname":"so.toutiao.com","href":"https://so.toutiao.com/s/search_wenda_pc/list/?enter_from=search_result&qid=6769165784762564871&qname=启动mysql后怎么连接数据库?&search_id=202302092112410101501341671EC01908&enter_answer_id=6769168784386179342&outer_show_aid=6769168784386179342&query=mysql怎么导入数据库","origin":"https://so.toutiao.com","pathname":"/s/search_wenda_pc/list/","port":"","protocol":"https:","search":"?enter_from=search_result&qid=6769165784762564871&qname=启动mysql后怎么连接数据库?&search_id=202302092112410101501341671EC01908&enter_answer_id=6769168784386179342&outer_show_aid=6769168784386179342&query=mysql怎么导入数据库","username":"","password":""},"query":{"enter_from":"search_result","qid":"6769165784762564871","qname":"启动mysql后怎么连接数据库?","search_id":"202302092112410101501341671EC01908","enter_answer_id":"6769168784386179342","outer_show_aid":"6769168784386179342","query":"mysql怎么导入数据库"},"client":{"width":1920,"height":880,"pixelRatio":1,"userAgent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36","isPC":true,"platform":"windows"},"serverEnv":"production","abFields":{},"user":{"webId":"7167564658018354696"},"isRPC":false,"params":{},"env":{"isBOE":false,"isProd":true,"isPPE":false,"cluster":"default"},"routingInfos":{"tc":"search_wenda_pc","business_path":"/list","routing_path":"/"}}}