thread 'main' panicked at 'called Result::unwrap() on an Err value: DriverError { Could not connect to address `root:3306': failed to lookup address information: Name or service not known }
let url = "mysql://root:#*Shieber2021@localhost:3306/test";
let opts = Opts::from_url(url).unwrap();
let pool = Pool::new(opts).unwrap();
let mut conn = pool.get_conn().unwrap();
I am wondering if the characters "#*" in password caused such an error?
thread 'main' panicked at 'called
Result::unwrap()
on anErr
value: DriverError { Could not connect to address `root:3306': failed to lookup address information: Name or service not known }I am wondering if the characters "#*" in password caused such an error?