localhost

mysql8创建只读帐号

不想你离开。 提交于 2019-12-13 01:18:49
网上有的直接创建并赋权,像酱紫的: grant all privileges *.* to '要创建的用户'@'localhost' identified by '自定义密码'; mysql8试了不行,要先创建用户再进行赋权,不能同时进行 创建用户 create user 'test1'@'localhost' identified by '密码'; flush privileges;刷新权限 其中localhost指本地才可连接 可以将其换成%指任意ip都能连接 也可以指定ip连接 修改密码 alter user 'test1'@'localhost' identified by '新密码'; flush privileges; 授权 grant all privileges on *.* to 'test1'@'localhost' with grant option; with gran option表示该用户可给其它用户赋予权限,但不可能超过该用户已有的权限 比如a用户有select,insert权限,也可给其它用户赋权,但它不可能给其它用户赋delete权限,除了select,insert以外的都不能 这句话可加可不加,视情况而定。 all privileges 可换成select,update,insert,delete,drop,create等操作 如:grant

Could not initialize class org.jfree.chart.JFreeChart

女生的网名这么多〃 提交于 2019-12-13 01:14:13
问题 EDIT: Hi there i am using JBoss 7.1 Runtime Server and i have an Problem on my MAC when i build my Project and run it on localhost i get always an ERROR from the JFreeChart Library that it could not initialize. I'm using Maven to import all my Library's my repository's was: <repositories> <repository> <id>java.net2</id> <name>Repository hosting the jee6 artifacts</name> <url>http://download.java.net/maven/2</url> </repository> <repository> <id>JBoss repository</id> <url>https://repository

Waiting for localhost… never ends

六月ゝ 毕业季﹏ 提交于 2019-12-13 00:30:50
问题 I am using Laravel. In XAMPP's htdocs folder my laravel root folder name is sh. I ran the following code php artisan serve and found that Laravel development server started: <http://127.0.0.1:8000> In Browser Address Bar I wrote localhost:8000 now waiting for localhost... never ends. I ran this code C:\>netstat -a in a long list I found that TCP 127.0.0.1:8000 ommited-PC:0 LISTENING TCP 127.0.0.1:8000 ommited-PC:49674 ESTABLISHED In Browser's address bar I wrote http://localhost/sh/public/

WebApp accessible via localhost but not 127.0.0.1

放肆的年华 提交于 2019-12-13 00:09:34
问题 i'm running a webapp on Jetty with Maven on my machine (Win7 pro X64) and i'm experiencing some weird problems: when i try to open it on my browser - it's accessible via localhost but not 127.0.0.1 or my local address ( 192.168.0.14 ). when someone else from my local network tries to access the app he can do it via my computer name but not via my local address. NOTE: ping works for localhost and 127.0.0.1 . also, i can access 127.0.0.1 (80) with telnet. windows firewall is off (stopped the

Developing on localhost for Google Apps Marketplace

房东的猫 提交于 2019-12-12 23:22:58
问题 My typical workflow is that I develop on localhost, but with Google Apps Marketplace this hasn't been possible. OpenID works fine, but access to Data APIs via Oauth results in errors. Token invalid - Invalid token: ACL not found for domain: 358xxxxxxxxx and consumer: 736xxxxxxxxx Currently I have been using the following workflow, but it is very tiresome. local develop » local push to github » remote pull from github » remote test » repeat Is there a way to develop locally or another

hadoop web UI at http://localhost:50070/ doesnt work

泪湿孤枕 提交于 2019-12-12 21:50:38
问题 command jps shows following details 5144 SecondaryNameNode 5464 NodeManager 5307 ResourceManager 5800 Jps Obviously namenode and datanode are missing web UI at http://localhost:50070/ doesnt work but http://localhost:8088/cluster works fine I am following instructions from https://www.tutorialspoint.com/hadoop/hadoop_enviornment_setup.htm 回答1: Your Namenode and Datanode is not running. Look at jps(Namenode and Datanode)has to be listed. Otherwise, you won't see it in http://localhost:50070

Mysql error 10061 on local network

拥有回忆 提交于 2019-12-12 21:05:33
问题 I'm tryig to connect to a local server his databases (located at 192.168.0.198), but I'm getting the 10061 error. When I try connecting true putty (then just an normal mysql login) it gives me no problems. A mincraft plugin uses the following command to login to the database: mysql://localhost:3306/DB_NAME no problems there. But when I try it with mysql workbench, and cmd. It refuses to work. Anyone got any idea/solution how I could fix this? grt kiwi 回答1: i had the exact same problem with

MySQL in docker-compose — access denied

岁酱吖の 提交于 2019-12-12 19:35:13
问题 I try to start MySQL server with docker-compose . Here is docker-compose.yaml part: mysql: restart: always image: mysql:latest ports: - "3306:3306" volumes: - /Users/user/Documents/.docker/mysql/config:/etc/mysql/ - /Users/user/Documents/.docker/mysql/data:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD='123' - MYSQL_ROOT_HOST='172.18.0.1' You see I've specified root password and host as it is said here. Then I try to connect to db (using Intellij Idea if that matters): jdbc:mysql:/

unable to run start-dfs.sh

≡放荡痞女 提交于 2019-12-12 19:13:33
问题 I am unable to run start-dfs.sh ubuntu@UBUNTU:~$ start-dfs.sh 14/10/19 19:26:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [localhost] localhost: ssh: connect to host localhost port 22: Connection refused localhost: ssh: connect to host localhost port 22: Connection refused Starting secondary namenodes [0.0.0.0] 0.0.0.0: ssh: connect to host 0.0.0.0 port 22: Connection refused 14/10/19

I can't play .mp3 files on localhost

最后都变了- 提交于 2019-12-12 19:13:12
问题 Im making a music player using HTML, jQuery and XML. The XML file contains the names of all the songs with their paths. I can't access the XML file locally because Chrome doesn't allow that, so I tried running it on localhost, but localhost doesn't let me play the mp3! I opened the mp3 file on localhost (localhost/Yash/song.mp3) but it doesn't play the music. Please help me find a solution to this. 回答1: Maybe you should use one of these http://localhost/Yash/song.mp3 http://127.0.0.1/Yash